Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 89.08 kB / 19.42 MB, free: 492 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 169 kB / 22.72 MB, free: 1.824 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.977/0.977, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001844/0.001844, allocations: 237.8 kB / 259.8 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7381/0.7381, allocations: 138.4 MB / 454.7 MB, free: 1.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.96e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001612/0.001642, allocations: 0.6196 MB / 0.555 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.001988, allocations: 63.8 kB / 0.555 GB, free: 120 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.002023, allocations: 0 / 0.555 GB, free: 120 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.002065, allocations: 0 / 0.555 GB, free: 120 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.002114, allocations: 4 kB / 0.555 GB, free: 116 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.002448, allocations: 51.86 kB / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.00252, allocations: 31.91 kB / 0.5551 GB, free: 32 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.002562, allocations: 4 kB / 0.5551 GB, free: 28 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.002608, allocations: 19.97 kB / 0.5551 GB, free: 8 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.002848, allocations: 67.91 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.002867, allocations: 4 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.002972, allocations: 39.94 kB / 0.5552 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.00301, allocations: 19.92 kB / 0.5553 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.003038, allocations: 15.94 kB / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.003197, allocations: 71.84 kB / 0.5553 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.0032, allocations: 0 / 0.5553 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.003201, allocations: 0 / 0.5553 GB, free: 15.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.003206, allocations: 7.938 kB / 0.5553 GB, free: 15.79 MB / 490.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.0004789/0.003685, allocations: 396.4 kB / 0.5557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.003732, allocations: 8.75 kB / 0.5557 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.003785, allocations: 16.89 kB / 0.5557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.003856, allocations: 112.5 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003869, allocations: 4.375 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.003887, allocations: 8.359 kB / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.004157, allocations: 389.9 kB / 0.5562 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.004166, allocations: 192 / 0.5562 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.004185, allocations: 12.11 kB / 0.5563 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.004245, allocations: 27.98 kB / 0.5563 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.585e-05/0.004301, allocations: 31.83 kB / 0.5563 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.004958, allocations: 1.208 MB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.005048, allocations: 269.4 kB / 0.5577 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.005086, allocations: 126.9 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.005116, allocations: 123.2 kB / 0.558 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.005168, allocations: 156.5 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.005169, allocations: 0 / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.834e-05/0.005247, allocations: 41.59 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.005384, allocations: 435.6 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.005537, allocations: 228.3 kB / 0.5588 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.005552, allocations: 33.7 kB / 0.5588 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.005645, allocations: 198.2 kB / 0.559 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.00565, allocations: 4 kB / 0.559 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.005715, allocations: 59.31 kB / 0.5591 GB, free: 11.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.005838, allocations: 0.4923 MB / 0.5596 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.005873, allocations: 19.92 kB / 0.5596 GB, free: 11.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.006128, allocations: 0.5422 MB / 0.5601 GB, free: 10.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.006304, allocations: 245.2 kB / 0.5603 GB, free: 10 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.006307, allocations: 0 / 0.5603 GB, free: 10 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002737/0.006581, allocations: 173.2 kB / 0.5605 GB, free: 9.828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.006597, allocations: 8 kB / 0.5605 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.006608, allocations: 4 kB / 0.5605 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.006627, allocations: 11.98 kB / 0.5605 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.006751, allocations: 39.92 kB / 0.5606 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.006763, allocations: 15.86 kB / 0.5606 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.006854, allocations: 32.31 kB / 0.5606 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.006869, allocations: 19.94 kB / 0.5606 GB, free: 9.699 MB / 490.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 () * 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 0.0001182/0.006987, allocations: 291.7 kB / 0.5609 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.007058, allocations: 152.8 kB / 0.5611 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.007115, allocations: 164.6 kB / 0.5612 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.007176, allocations: 268.1 kB / 0.5615 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.486e-05/0.007241, allocations: 264.1 kB / 0.5617 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-05/0.007305, allocations: 268.1 kB / 0.562 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.007659, allocations: 0.5155 MB / 0.5625 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.007696, allocations: 152.8 kB / 0.5626 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.00773, allocations: 144.9 kB / 0.5628 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.76e-05/0.007798, allocations: 268.1 kB / 0.563 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.007861, allocations: 272 kB / 0.5633 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.003e-05/0.007921, allocations: 272.1 kB / 0.5635 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.964e-05/0.007981, allocations: 268 kB / 0.5638 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008124, allocations: 459.9 kB / 0.5642 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.008173, allocations: 156.8 kB / 0.5644 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.008251, allocations: 264.1 kB / 0.5646 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.008336, allocations: 156.8 kB / 0.5648 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.008401, allocations: 268.1 kB / 0.565 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.008438, allocations: 148.8 kB / 0.5652 GB, free: 4.844 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.051e-05/0.008509, allocations: 161.9 kB / 0.5653 GB, free: 4.688 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008509, allocations: 0 / 0.5653 GB, free: 4.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.008823, allocations: 27.94 kB / 0.5654 GB, free: 4.66 MB / 490.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 () * 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.0001972/0.00902, allocations: 222.4 kB / 0.5656 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.009163, allocations: 80.41 kB / 0.5657 GB, free: 4.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.009166, allocations: 4.375 kB / 0.5657 GB, free: 4.348 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.009168, allocations: 4 kB / 0.5657 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.009554, allocations: 0.714 MB / 0.5664 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.009848, allocations: 268.3 kB / 0.5666 GB, free: 3.336 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.009897, allocations: 71.86 kB / 0.5667 GB, free: 3.242 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.01003, allocations: 52.58 kB / 0.5667 GB, free: 3.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.01005, allocations: 16.5 kB / 0.5668 GB, free: 3.176 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01005, allocations: 0 / 0.5668 GB, free: 3.176 MB / 490.7 MB Notification: Performance of Templates: time 0.004376/0.01443, allocations: 1.822 MB / 0.5685 GB, free: 1.426 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7756721721962094]