Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001689/0.001689, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.629/1.629, allocations: 251.9 MB / 0.51 GB, free: 4.867 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0008081/0.0008083, allocations: 12 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6795, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.000969/0.6806, allocations: 333.3 kB / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.681, allocations: 70.45 kB / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.681, allocations: 4 kB / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.6811, allocations: 3.938 kB / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.6811, allocations: 11.92 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.6815, allocations: 31.95 kB / 0.7284 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.6815, allocations: 19.97 kB / 0.7284 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.6816, allocations: 4 kB / 0.7284 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.6816, allocations: 15.98 kB / 0.7285 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.6819, allocations: 79.8 kB / 0.7285 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.6819, allocations: 4 kB / 0.7285 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.682, allocations: 31.95 kB / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.682, allocations: 15.98 kB / 0.7286 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.6821, allocations: 33.64 kB / 0.7286 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.269e-05/0.6822, allocations: 43.94 kB / 0.7287 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.6822, allocations: 0 / 0.7287 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6822, allocations: 0 / 0.7287 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6822, allocations: 0 / 0.7287 GB, free: 10.73 MB / 0.545 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.0003486/0.6825, allocations: 345.3 kB / 0.729 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6826, allocations: 12.03 kB / 0.729 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.6826, allocations: 7.906 kB / 0.729 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.6828, allocations: 178.9 kB / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.6828, allocations: 0 / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.6828, allocations: 0 / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.6831, allocations: 172.2 kB / 0.7293 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6831, allocations: 4 kB / 0.7293 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.6831, allocations: 8 kB / 0.7294 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.6832, allocations: 19.97 kB / 0.7294 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.6832, allocations: 35.91 kB / 0.7294 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.6842, allocations: 0.9061 MB / 0.7303 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.6843, allocations: 177.1 kB / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.6844, allocations: 75.28 kB / 0.7305 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.6845, allocations: 117.8 kB / 0.7306 GB, free: 8.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.6845, allocations: 0 / 0.7306 GB, free: 8.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.076e-05/0.6846, allocations: 33.7 kB / 0.7307 GB, free: 8.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003106/0.6849, allocations: 387.7 kB / 0.731 GB, free: 8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.6851, allocations: 169 kB / 0.7312 GB, free: 7.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.6852, allocations: 29.7 kB / 0.7312 GB, free: 7.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6853, allocations: 147.2 kB / 0.7314 GB, free: 7.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.6853, allocations: 4 kB / 0.7314 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.6853, allocations: 8 kB / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003591/0.6857, allocations: 322.8 kB / 0.7317 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.6857, allocations: 32.28 kB / 0.7317 GB, free: 7.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.6859, allocations: 211.3 kB / 0.7319 GB, free: 6.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.045e-05/0.686, allocations: 70.75 kB / 0.732 GB, free: 6.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.686, allocations: 0 / 0.732 GB, free: 6.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003305/0.6863, allocations: 189.2 kB / 0.7322 GB, free: 6.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6864, allocations: 8 kB / 0.7322 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6864, allocations: 4.656 kB / 0.7322 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.6864, allocations: 12.09 kB / 0.7322 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6866, allocations: 47.86 kB / 0.7322 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.6866, allocations: 11.92 kB / 0.7323 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.6867, allocations: 23.75 kB / 0.7323 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6867, allocations: 12 kB / 0.7323 GB, free: 6.602 MB / 0.545 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.0001492/0.6869, allocations: 216.9 kB / 0.7325 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.6869, allocations: 112.9 kB / 0.7326 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.6871, allocations: 120.8 kB / 0.7327 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/0.6872, allocations: 180.2 kB / 0.7329 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.702e-05/0.6873, allocations: 176.3 kB / 0.7331 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/0.6873, allocations: 180.2 kB / 0.7332 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.6876, allocations: 421.2 kB / 0.7336 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/0.6877, allocations: 112.9 kB / 0.7337 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.6878, allocations: 109 kB / 0.7338 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-05/0.6878, allocations: 180.3 kB / 0.734 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.6879, allocations: 180.2 kB / 0.7342 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.283e-05/0.688, allocations: 176.3 kB / 0.7344 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/0.6881, allocations: 188.2 kB / 0.7345 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.6883, allocations: 311.7 kB / 0.7348 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.6884, allocations: 198.1 kB / 0.735 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.6885, allocations: 184.2 kB / 0.7352 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.6886, allocations: 113 kB / 0.7353 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.6887, allocations: 180.3 kB / 0.7355 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.6888, allocations: 108.9 kB / 0.7356 GB, free: 3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.6889, allocations: 114.2 kB / 0.7357 GB, free: 2.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6889, allocations: 4 kB / 0.7357 GB, free: 2.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003269/0.6892, allocations: 24 kB / 0.7357 GB, free: 2.863 MB / 0.545 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.0001954/0.6894, allocations: 194.5 kB / 0.7359 GB, free: 2.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.6896, allocations: 72.22 kB / 0.736 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6896, allocations: 4 kB / 0.736 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.6896, allocations: 4 kB / 0.736 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.6899, allocations: 0.5271 MB / 0.7365 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.6902, allocations: 238.6 kB / 0.7367 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6905, allocations: 0.6932 MB / 0.7374 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.6908, allocations: 56.55 kB / 0.7375 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.6908, allocations: 15.44 kB / 0.7375 GB, free: 1.008 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6908, allocations: 0 / 0.7375 GB, free: 1.008 MB / 0.545 GB Notification: Performance of Templates: time 0.004871/0.6957, allocations: 1.695 MB / 0.7391 GB, free: 15.34 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: