Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6179/0.6179, allocations: 95.49 MB / 365.2 MB, free: 9.887 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001719, allocations: 68.52 kB / 445.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3421, allocations: 69.08 MB / 0.5024 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001681/0.3439, allocations: 0.5634 MB / 0.5029 GB, free: 16.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000323/0.3442, allocations: 67.78 kB / 0.503 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.3442, allocations: 0 / 0.503 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.3443, allocations: 4 kB / 0.503 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.3444, allocations: 3.984 kB / 0.503 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3447, allocations: 43.89 kB / 0.503 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.3448, allocations: 27.97 kB / 0.5031 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.3448, allocations: 7.984 kB / 0.5031 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.3449, allocations: 7.938 kB / 0.5031 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.3451, allocations: 63.94 kB / 0.5031 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3451, allocations: 0 / 0.5031 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3452, allocations: 43.91 kB / 0.5032 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.3453, allocations: 23.91 kB / 0.5032 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.3453, allocations: 15.88 kB / 0.5032 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3454, allocations: 63.8 kB / 0.5033 GB, free: 16.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3454, allocations: 0 / 0.5033 GB, free: 16.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3454, allocations: 4 kB / 0.5033 GB, free: 16.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3455, allocations: 3.938 kB / 0.5033 GB, free: 16.58 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000359/0.3458, allocations: 365.6 kB / 0.5036 GB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3459, allocations: 11.98 kB / 0.5037 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.3459, allocations: 8.844 kB / 0.5037 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/0.346, allocations: 176.2 kB / 0.5038 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.346, allocations: 384 / 0.5038 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3461, allocations: 7.938 kB / 0.5038 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3463, allocations: 170.8 kB / 0.504 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3463, allocations: 7.938 kB / 0.504 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3464, allocations: 0 / 0.504 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.3464, allocations: 23.97 kB / 0.504 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.3465, allocations: 35.91 kB / 0.5041 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.347, allocations: 0.91 MB / 0.505 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.3471, allocations: 173.1 kB / 0.5051 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.3471, allocations: 84.14 kB / 0.5052 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3472, allocations: 83.2 kB / 0.5053 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3472, allocations: 109.8 kB / 0.5054 GB, free: 14.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3472, allocations: 0 / 0.5054 GB, free: 14.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.065e-05/0.3473, allocations: 36.75 kB / 0.5054 GB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3474, allocations: 387.7 kB / 0.5058 GB, free: 13.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3475, allocations: 175.8 kB / 0.506 GB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3476, allocations: 29.7 kB / 0.506 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.3476, allocations: 143.2 kB / 0.5061 GB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-06/0.3476, allocations: 7.984 kB / 0.5061 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.3477, allocations: 53.61 kB / 0.5062 GB, free: 13.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.3477, allocations: 318.8 kB / 0.5065 GB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.3478, allocations: 31.91 kB / 0.5065 GB, free: 12.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.3479, allocations: 216.5 kB / 0.5067 GB, free: 12.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3481, allocations: 205.7 kB / 0.5069 GB, free: 12.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3481, allocations: 4 kB / 0.5069 GB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002873/0.3484, allocations: 193.4 kB / 0.5071 GB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3484, allocations: 8 kB / 0.5071 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3484, allocations: 4 kB / 0.5071 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3484, allocations: 8 kB / 0.5071 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3485, allocations: 43.92 kB / 0.5072 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3486, allocations: 7.938 kB / 0.5072 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.3486, allocations: 23.75 kB / 0.5072 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3487, allocations: 12 kB / 0.5072 GB, free: 12.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/0.3488, allocations: 217.3 kB / 0.5074 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3488, allocations: 112.8 kB / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3488, allocations: 120.9 kB / 0.5076 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.3489, allocations: 184.2 kB / 0.5078 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/0.3489, allocations: 180.3 kB / 0.508 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.3489, allocations: 188.2 kB / 0.5082 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3491, allocations: 417.2 kB / 0.5086 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.3491, allocations: 108.9 kB / 0.5087 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.3491, allocations: 101 kB / 0.5088 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.683e-05/0.3491, allocations: 188.2 kB / 0.5089 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.3492, allocations: 184.2 kB / 0.5091 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-05/0.3492, allocations: 184.2 kB / 0.5093 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.563e-05/0.3492, allocations: 180.2 kB / 0.5095 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.195e-05/0.3493, allocations: 311.7 kB / 0.5098 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.3494, allocations: 190 kB / 0.5099 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3494, allocations: 184.3 kB / 0.5101 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.3495, allocations: 108.9 kB / 0.5102 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.3495, allocations: 180.3 kB / 0.5104 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3495, allocations: 112.9 kB / 0.5105 GB, free: 8.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.3496, allocations: 116.9 kB / 0.5106 GB, free: 8.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3496, allocations: 0 / 0.5106 GB, free: 8.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3499, allocations: 28 kB / 0.5106 GB, free: 8.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.35, allocations: 182.5 kB / 0.5108 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3501, allocations: 73.03 kB / 0.5109 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.3502, allocations: 4 kB / 0.5109 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3502, allocations: 0 / 0.5109 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3504, allocations: 479.7 kB / 0.5113 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.3507, allocations: 220.6 kB / 0.5116 GB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3508, allocations: 0.6968 MB / 0.5122 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.351, allocations: 48.61 kB / 0.5123 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.351, allocations: 23.38 kB / 0.5123 GB, free: 6.578 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.351, allocations: 0 / 0.5123 GB, free: 6.578 MB / 382.1 MB Notification: Performance of Templates: time 0.003721/0.3547, allocations: 1.658 MB / 0.5139 GB, free: 4.953 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)