Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 183.9 kB / 7.799 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4693/0.4693, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 221.4 MB / 342.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.000974, allocations: 93.75 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.518e-06, allocations: 4 kB / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3387, allocations: 72.3 MB / 0.5529 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.4406, allocations: 100.5 MB / 0.651 GB, free: 9.574 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4409, allocations: 72.8 kB / 0.6511 GB, free: 9.504 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002963/0.4439, allocations: 0.8613 MB / 0.6519 GB, free: 8.664 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.4439, allocations: 4.5 kB / 0.6519 GB, free: 8.66 MB / 474.7 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.0002696/0.4442, allocations: 340 kB / 0.6522 GB, free: 8.285 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4442, allocations: 8.031 kB / 0.6523 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.4442, allocations: 11.84 kB / 0.6523 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.4443, allocations: 172.2 kB / 0.6524 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4444, allocations: 0 / 0.6524 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4444, allocations: 7.906 kB / 0.6524 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.508e-05/0.4445, allocations: 36.17 kB / 0.6525 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.4447, allocations: 161.6 kB / 0.6526 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4447, allocations: 0 / 0.6526 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4447, allocations: 0.5625 kB / 0.6526 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.4447, allocations: 24.92 kB / 0.6527 GB, free: 7.812 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.4453, allocations: 0.8743 MB / 0.6535 GB, free: 6.887 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.4454, allocations: 170.7 kB / 0.6537 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.4455, allocations: 84.17 kB / 0.6537 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4455, allocations: 75.28 kB / 0.6538 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4456, allocations: 110.8 kB / 0.6539 GB, free: 6.438 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4456, allocations: 0.5 kB / 0.6539 GB, free: 6.438 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 7.789e-05/0.4456, allocations: 46.5 kB / 0.654 GB, free: 6.387 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.4458, allocations: 308.4 kB / 0.6543 GB, free: 6.012 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.446, allocations: 150.2 kB / 0.6544 GB, free: 5.859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.446, allocations: 29.7 kB / 0.6544 GB, free: 5.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.4461, allocations: 148.1 kB / 0.6546 GB, free: 5.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.4461, allocations: 1.062 kB / 0.6546 GB, free: 5.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.4461, allocations: 0 / 0.6546 GB, free: 5.676 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4462, allocations: 323.8 kB / 0.6549 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.4463, allocations: 20.38 kB / 0.6549 GB, free: 5.332 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.4464, allocations: 209.4 kB / 0.6551 GB, free: 5.039 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.4465, allocations: 58.73 kB / 0.6552 GB, free: 4.988 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4465, allocations: 4.656 kB / 0.6552 GB, free: 4.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002638/0.4468, allocations: 162.3 kB / 0.6553 GB, free: 4.824 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4468, allocations: 7.906 kB / 0.6553 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4468, allocations: 8 kB / 0.6553 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4468, allocations: 7.984 kB / 0.6553 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.447, allocations: 42.02 kB / 0.6554 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.447, allocations: 8.594 kB / 0.6554 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.4471, allocations: 23.75 kB / 0.6554 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.4471, allocations: 16 kB / 0.6554 GB, free: 4.715 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.4472, allocations: 192.1 kB / 0.6556 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.4473, allocations: 112.8 kB / 0.6557 GB, free: 4.402 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.4473, allocations: 116.6 kB / 0.6558 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.175e-05/0.4474, allocations: 188.2 kB / 0.656 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.435e-05/0.4475, allocations: 180.6 kB / 0.6562 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.725e-05/0.4475, allocations: 176.3 kB / 0.6564 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.4478, allocations: 409.7 kB / 0.6567 GB, free: 3.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/0.4478, allocations: 104.9 kB / 0.6568 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.4478, allocations: 105.5 kB / 0.6569 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.703e-05/0.4479, allocations: 181.7 kB / 0.6571 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.448, allocations: 184.3 kB / 0.6573 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.877e-05/0.448, allocations: 180.2 kB / 0.6575 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.188e-05/0.4481, allocations: 180.2 kB / 0.6576 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001312/0.4482, allocations: 307.7 kB / 0.6579 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.4483, allocations: 197.9 kB / 0.6581 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.4484, allocations: 176.5 kB / 0.6583 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.4485, allocations: 105 kB / 0.6584 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.4486, allocations: 184.2 kB / 0.6586 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4486, allocations: 101 kB / 0.6587 GB, free: 1.199 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.425e-05/0.4487, allocations: 118.7 kB / 0.6588 GB, free: 1.086 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.449, allocations: 28 kB / 0.6588 GB, free: 1.059 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.4492, allocations: 184.2 kB / 0.659 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.4493, allocations: 67.78 kB / 0.659 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4493, allocations: 5.312 kB / 0.659 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4493, allocations: 0 / 0.659 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.4496, allocations: 0.5283 MB / 0.6596 GB, free: 276 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.4499, allocations: 178.7 kB / 0.6597 GB, free: 72 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4501, allocations: 0.712 MB / 0.6604 GB, free: 15.33 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4502, allocations: 0 / 0.6604 GB, free: 15.33 MB / 490.7 MB Notification: Performance of Templates: time 0.003927/0.4541, allocations: 1.756 MB / 0.6621 GB, free: 13.65 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)