Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.726/1.726, allocations: 297.8 MB / 313.8 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 184.2 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008889, allocations: 93.11 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006192/0.0006193, allocations: 12 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7017, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.8733, allocations: 140.9 MB / 1.164 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.8735, allocations: 78.02 kB / 1.164 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00259/0.8761, allocations: 1.156 MB / 1.165 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8761, allocations: 0 / 1.165 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8761, allocations: 4 kB / 1.165 GB, free: 1.5 MB / 0.7292 GB 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.0001829/0.8763, allocations: 337.9 kB / 1.165 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.8764, allocations: 8.594 kB / 1.165 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8764, allocations: 12.84 kB / 1.165 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.878e-05/0.8765, allocations: 174.5 kB / 1.166 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.8765, allocations: 8.359 kB / 1.166 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.8765, allocations: 384 / 1.166 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.8767, allocations: 162 kB / 1.166 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.8767, allocations: 1.312 kB / 1.166 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.8767, allocations: 11.98 kB / 1.166 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.8768, allocations: 23.17 kB / 1.166 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.8768, allocations: 40.64 kB / 1.166 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.8774, allocations: 0.8858 MB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.982e-05/0.8775, allocations: 175 kB / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.8775, allocations: 84.8 kB / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.8776, allocations: 79.28 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.8776, allocations: 108.1 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8776, allocations: 0.5312 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.669e-05/0.8777, allocations: 43.81 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/0.8779, allocations: 389.9 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.8781, allocations: 162.6 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.8781, allocations: 31.08 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.8782, allocations: 154.7 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.8782, allocations: 2.109 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.8782, allocations: 4 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8783, allocations: 326 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.8784, allocations: 26.28 kB / 1.168 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.8786, allocations: 218 kB / 1.168 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.8788, allocations: 196.9 kB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8788, allocations: 0.5 kB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002953/0.8791, allocations: 193.3 kB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8791, allocations: 8 kB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8791, allocations: 4.625 kB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8791, allocations: 8.719 kB / 1.169 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.8793, allocations: 44.61 kB / 1.169 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.8793, allocations: 5.344 kB / 1.169 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.8794, allocations: 24.5 kB / 1.169 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.8794, allocations: 18.53 kB / 1.169 GB, free: 13.32 MB / 0.7448 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.8795, allocations: 213.3 kB / 1.169 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.8796, allocations: 117.9 kB / 1.169 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.8796, allocations: 120.9 kB / 1.169 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/0.8797, allocations: 180.8 kB / 1.17 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.949e-05/0.8798, allocations: 183.2 kB / 1.17 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-05/0.8798, allocations: 185 kB / 1.17 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.8801, allocations: 419.5 kB / 1.17 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/0.8801, allocations: 105 kB / 1.17 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.8802, allocations: 103.1 kB / 1.171 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.479e-05/0.8803, allocations: 182.6 kB / 1.171 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.8803, allocations: 181.1 kB / 1.171 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.3e-05/0.8804, allocations: 192.1 kB / 1.171 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.995e-05/0.8805, allocations: 177.5 kB / 1.171 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.8806, allocations: 313.2 kB / 1.172 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.8807, allocations: 187.3 kB / 1.172 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.8808, allocations: 185.2 kB / 1.172 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.881, allocations: 109.5 kB / 1.172 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.8811, allocations: 184.9 kB / 1.172 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.8811, allocations: 105.5 kB / 1.172 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001117/0.8812, allocations: 119.2 kB / 1.172 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8812, allocations: 0.8438 kB / 1.172 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003676/0.8816, allocations: 28 kB / 1.172 GB, free: 9.625 MB / 0.7448 GB 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 (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.0002371/0.8818, allocations: 189.9 kB / 1.173 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.882, allocations: 72.34 kB / 1.173 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.882, allocations: 1.312 kB / 1.173 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.882, allocations: 3.938 kB / 1.173 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.8824, allocations: 0.5375 MB / 1.173 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.8828, allocations: 230.4 kB / 1.173 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.8831, allocations: 0.6916 MB / 1.174 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.8833, allocations: 56.14 kB / 1.174 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.8833, allocations: 19.44 kB / 1.174 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8833, allocations: 3.938 kB / 1.174 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.005185/0.8885, allocations: 1.732 MB / 1.176 GB, free: 6.852 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)