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.0009426/0.0009426, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001579/0.001579, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.001859/0.001859, allocations: 233.7 kB / 260.5 MB, free: 12.89 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.7636/0.7636, allocations: 138.4 MB / 455.4 MB, free: 1.516 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.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.668e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00122/0.001247, allocations: 0.6157 MB / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.001529, allocations: 71.84 kB / 0.5558 GB, free: 116 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.001559, allocations: 3.938 kB / 0.5558 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.001602, allocations: 3.938 kB / 0.5558 GB, free: 108 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.001649, allocations: 7.984 kB / 0.5558 GB, free: 100 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.001959, allocations: 39.94 kB / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.00203, allocations: 23.92 kB / 0.5558 GB, free: 36 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.00207, allocations: 7.984 kB / 0.5558 GB, free: 28 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.002109, allocations: 23.97 kB / 0.5559 GB, free: 4 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.002291, allocations: 75.91 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.002306, allocations: 0 / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.002391, allocations: 43.92 kB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.002426, allocations: 19.92 kB / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.00245, allocations: 11.94 kB / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.002582, allocations: 75.83 kB / 0.5561 GB, free: 15.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002584, allocations: 0 / 0.5561 GB, free: 15.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002585, allocations: 0 / 0.5561 GB, free: 15.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.002589, allocations: 0 / 0.5561 GB, free: 15.78 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.0002946/0.002884, allocations: 392.5 kB / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.002923, allocations: 12.75 kB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.002973, allocations: 20.88 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.003045, allocations: 112.5 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003056, allocations: 4.375 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.003068, allocations: 4.375 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.003298, allocations: 397.8 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.003306, allocations: 192 / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.003318, allocations: 4.125 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.003364, allocations: 27.97 kB / 0.557 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.003404, allocations: 31.8 kB / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.004114, allocations: 1.211 MB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.539e-05/0.00419, allocations: 265.4 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.004221, allocations: 134.9 kB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.004247, allocations: 123.2 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.004295, allocations: 160.5 kB / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.004296, allocations: 0 / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.045e-05/0.004367, allocations: 37.66 kB / 0.5589 GB, free: 12.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.004489, allocations: 435.6 kB / 0.5593 GB, free: 12.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.004612, allocations: 228.5 kB / 0.5595 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.004624, allocations: 25.7 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.004696, allocations: 202.2 kB / 0.5598 GB, free: 11.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-06/0.0047, allocations: 4 kB / 0.5598 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.004748, allocations: 67.31 kB / 0.5598 GB, free: 11.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.004852, allocations: 496.1 kB / 0.5603 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.004877, allocations: 19.92 kB / 0.5603 GB, free: 11.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.00508, allocations: 0.5422 MB / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.005222, allocations: 241.2 kB / 0.5611 GB, free: 10 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.005225, allocations: 0 / 0.5611 GB, free: 10 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001997/0.005425, allocations: 181.7 kB / 0.5613 GB, free: 9.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.005441, allocations: 10.97 kB / 0.5613 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.005448, allocations: 4 kB / 0.5613 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.005462, allocations: 4 kB / 0.5613 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.005553, allocations: 43.92 kB / 0.5613 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.005561, allocations: 4 kB / 0.5613 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.00562, allocations: 27.78 kB / 0.5613 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.005632, allocations: 19.94 kB / 0.5614 GB, free: 9.707 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.0001044/0.005737, allocations: 295.6 kB / 0.5616 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.005787, allocations: 160.9 kB / 0.5618 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.005831, allocations: 152.7 kB / 0.5619 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/0.005894, allocations: 272 kB / 0.5622 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-05/0.005947, allocations: 268.1 kB / 0.5625 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.906e-05/0.006006, allocations: 276 kB / 0.5627 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.006174, allocations: 0.5116 MB / 0.5632 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.006205, allocations: 144.9 kB / 0.5634 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.006241, allocations: 152.8 kB / 0.5635 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.388e-05/0.006295, allocations: 268.1 kB / 0.5638 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.006349, allocations: 268 kB / 0.564 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-05/0.006405, allocations: 272.1 kB / 0.5643 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.568e-05/0.006461, allocations: 272.1 kB / 0.5645 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.006725, allocations: 455.8 kB / 0.565 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.006766, allocations: 156.8 kB / 0.5651 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.006835, allocations: 272.1 kB / 0.5654 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.006888, allocations: 144.9 kB / 0.5655 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.006945, allocations: 276 kB / 0.5658 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.006974, allocations: 144.9 kB / 0.5659 GB, free: 4.844 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.007029, allocations: 154.1 kB / 0.5661 GB, free: 4.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007029, allocations: 0 / 0.5661 GB, free: 4.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.007246, allocations: 31.94 kB / 0.5661 GB, free: 4.664 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.0001552/0.007401, allocations: 238.4 kB / 0.5663 GB, free: 4.422 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.007523, allocations: 75.47 kB / 0.5664 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.007525, allocations: 0 / 0.5664 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.007526, allocations: 1.312 kB / 0.5664 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.00029/0.007816, allocations: 0.714 MB / 0.5671 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.008066, allocations: 272.1 kB / 0.5674 GB, free: 3.336 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.008104, allocations: 71.94 kB / 0.5674 GB, free: 3.242 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.887e-05/0.008203, allocations: 56.56 kB / 0.5675 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.00822, allocations: 12.5 kB / 0.5675 GB, free: 3.176 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00822, allocations: 0 / 0.5675 GB, free: 3.176 MB / 490.7 MB Notification: Performance of Templates: time 0.003207/0.01143, allocations: 1.824 MB / 0.5693 GB, free: 1.422 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.778591373935342]