Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.6 MB / 307.5 MB, free: 5.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 185 kB / 377.1 MB, free: 1.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.6367 GB, free: 8.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 89.75 kB / 0.751 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 16 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2419, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6264/0.8684, allocations: 138.7 MB / 1.124 GB, free: 35.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.8687, allocations: 75.94 kB / 1.124 GB, free: 35.87 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002961/0.8716, allocations: 1.171 MB / 1.125 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8717, allocations: 0 / 1.125 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.8717, allocations: 6.312 kB / 1.125 GB, free: 35.03 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.0003061/0.872, allocations: 347.8 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.872, allocations: 16.02 kB / 1.125 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.8721, allocations: 6.859 kB / 1.125 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.8722, allocations: 167 kB / 1.126 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.8722, allocations: 5.359 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.8722, allocations: 8.5 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.8725, allocations: 160.2 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8725, allocations: 0 / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.8726, allocations: 0.6094 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.8726, allocations: 30.69 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.8727, allocations: 35.02 kB / 1.126 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.8733, allocations: 0.8962 MB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.8734, allocations: 169.1 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.8734, allocations: 83 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.8734, allocations: 109.8 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.8735, allocations: 0 / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.8735, allocations: 39.94 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.8737, allocations: 396 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.8738, allocations: 147.9 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.8738, allocations: 33.03 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.8739, allocations: 146.8 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.8739, allocations: 7.234 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.8739, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.874, allocations: 321.4 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.874, allocations: 23.41 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.8742, allocations: 225 kB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.8743, allocations: 62.95 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8743, allocations: 7.516 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002664/0.8745, allocations: 191.1 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8746, allocations: 4 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.8746, allocations: 9.125 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8746, allocations: 4 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.8747, allocations: 43.78 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.8747, allocations: 7.328 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.8748, allocations: 23.84 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.8749, allocations: 12 kB / 1.129 GB, free: 31.11 MB / 0.7292 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.0001088/0.875, allocations: 212.5 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.875, allocations: 124.8 kB / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.8751, allocations: 112.2 kB / 1.129 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.8751, allocations: 180.8 kB / 1.129 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/0.8751, allocations: 176.6 kB / 1.129 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.8752, allocations: 184.3 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.8754, allocations: 424.4 kB / 1.13 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/0.8755, allocations: 101.5 kB / 1.13 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.8755, allocations: 120.3 kB / 1.13 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.245e-05/0.8755, allocations: 176.3 kB / 1.13 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.8756, allocations: 176.8 kB / 1.131 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-05/0.8756, allocations: 181 kB / 1.131 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.278e-05/0.8756, allocations: 188.7 kB / 1.131 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.39e-05/0.8757, allocations: 311.7 kB / 1.131 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.8758, allocations: 186.9 kB / 1.131 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.8759, allocations: 188.3 kB / 1.132 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.8759, allocations: 113 kB / 1.132 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.876, allocations: 180.2 kB / 1.132 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.876, allocations: 104.9 kB / 1.132 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.8761, allocations: 120.2 kB / 1.132 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8761, allocations: 0 / 1.132 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002859/0.8764, allocations: 24 kB / 1.132 GB, free: 27.42 MB / 0.7292 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.0001872/0.8766, allocations: 187.5 kB / 1.132 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.8767, allocations: 82.62 kB / 1.132 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8768, allocations: 1.219 kB / 1.132 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.8768, allocations: 1.312 kB / 1.132 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.877, allocations: 0.5341 MB / 1.133 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.8773, allocations: 242.4 kB / 1.133 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.8775, allocations: 0.6988 MB / 1.134 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000163/0.8777, allocations: 50.89 kB / 1.134 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.8777, allocations: 15.44 kB / 1.134 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.8777, allocations: 4 kB / 1.134 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.003838/0.8815, allocations: 1.691 MB / 1.135 GB, free: 24.65 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)