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.0009376/0.0009376, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001061/0.001061, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.987/0.987, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.001818/0.001818, allocations: 241.5 kB / 261.3 MB, free: 12.68 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.7582/0.7582, allocations: 138.4 MB / 456.3 MB, free: 1.422 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.503e-06/1.503e-06, allocations: 0 / 0.5564 GB, free: 180 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.804e-05, allocations: 2.312 kB / 0.5564 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001393/0.001421, allocations: 0.6313 MB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.001733, allocations: 59.81 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.001766, allocations: 4 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.001818, allocations: 3.984 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.001861, allocations: 4 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.002158, allocations: 47.81 kB / 0.5572 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.002223, allocations: 27.95 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.002264, allocations: 4 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.002303, allocations: 19.98 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.002481, allocations: 79.83 kB / 0.5573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.002494, allocations: 0 / 0.5573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.002586, allocations: 39.95 kB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.002618, allocations: 19.91 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.002635, allocations: 12 kB / 0.5574 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.002753, allocations: 75.78 kB / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002755, allocations: 0 / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.002755, allocations: 0 / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.00276, allocations: 0 / 0.5574 GB, free: 15.15 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.0002841/0.003044, allocations: 400.4 kB / 0.5578 GB, free: 14.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.003074, allocations: 8.75 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.003106, allocations: 12.83 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.898e-05/0.003165, allocations: 112.6 kB / 0.5579 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.003175, allocations: 384 / 0.5579 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.003186, allocations: 12.36 kB / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.003379, allocations: 384.9 kB / 0.5583 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.003387, allocations: 192 / 0.5583 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.003397, allocations: 8.125 kB / 0.5583 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.003463, allocations: 23.98 kB / 0.5583 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.003491, allocations: 23.86 kB / 0.5584 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.003989, allocations: 1.196 MB / 0.5595 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.963e-05/0.004069, allocations: 265.4 kB / 0.5598 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.004101, allocations: 130.9 kB / 0.5599 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.004127, allocations: 119.2 kB / 0.56 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.004182, allocations: 156.6 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004183, allocations: 0 / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.169e-05/0.004244, allocations: 49.52 kB / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.004375, allocations: 431.6 kB / 0.5606 GB, free: 11.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.00449, allocations: 221.7 kB / 0.5609 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.004502, allocations: 25.7 kB / 0.5609 GB, free: 11.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.004579, allocations: 214.2 kB / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.004581, allocations: 0 / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.004633, allocations: 67.28 kB / 0.5611 GB, free: 10.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.00475, allocations: 0.4923 MB / 0.5616 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.004762, allocations: 7.984 kB / 0.5616 GB, free: 10.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.004977, allocations: 0.5449 MB / 0.5622 GB, free: 9.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.005115, allocations: 241.2 kB / 0.5624 GB, free: 9.418 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005117, allocations: 3.938 kB / 0.5624 GB, free: 9.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001775/0.005294, allocations: 165.5 kB / 0.5626 GB, free: 9.246 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005309, allocations: 8 kB / 0.5626 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005315, allocations: 4 kB / 0.5626 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005328, allocations: 8 kB / 0.5626 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.005413, allocations: 39.92 kB / 0.5626 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.005423, allocations: 19.91 kB / 0.5626 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.005478, allocations: 27.78 kB / 0.5627 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.005489, allocations: 16.38 kB / 0.5627 GB, free: 9.125 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.000103/0.005592, allocations: 295.6 kB / 0.563 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.00565, allocations: 160.8 kB / 0.5631 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.0057, allocations: 160.6 kB / 0.5633 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.655e-05/0.005767, allocations: 272.1 kB / 0.5635 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.847e-05/0.005835, allocations: 264.1 kB / 0.5638 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-05/0.005898, allocations: 268.1 kB / 0.564 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.006081, allocations: 0.4926 MB / 0.5645 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/0.00612, allocations: 148.8 kB / 0.5647 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.006157, allocations: 148.9 kB / 0.5648 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-05/0.006222, allocations: 268.1 kB / 0.5651 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.006288, allocations: 272 kB / 0.5653 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.315e-05/0.006351, allocations: 268.1 kB / 0.5656 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.318e-05/0.006414, allocations: 268 kB / 0.5658 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.006552, allocations: 459.8 kB / 0.5663 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.006594, allocations: 152.8 kB / 0.5664 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.00666, allocations: 268.1 kB / 0.5667 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.00672, allocations: 152.8 kB / 0.5668 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.006777, allocations: 268.1 kB / 0.5671 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.006811, allocations: 152.8 kB / 0.5672 GB, free: 4.293 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.006856, allocations: 143.2 kB / 0.5673 GB, free: 4.152 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006856, allocations: 3.938 kB / 0.5673 GB, free: 4.148 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000225/0.007081, allocations: 39.94 kB / 0.5674 GB, free: 4.109 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.0001724/0.007253, allocations: 226.4 kB / 0.5676 GB, free: 3.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.007374, allocations: 76.53 kB / 0.5677 GB, free: 3.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.007377, allocations: 4 kB / 0.5677 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.007378, allocations: 0 / 0.5677 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.007708, allocations: 0.7236 MB / 0.5684 GB, free: 3.074 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.00795, allocations: 272.2 kB / 0.5686 GB, free: 2.781 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.007989, allocations: 64 kB / 0.5687 GB, free: 2.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.008062, allocations: 24.64 kB / 0.5687 GB, free: 2.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.0082, allocations: 134.2 kB / 0.5689 GB, free: 2.539 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.008201, allocations: 0 / 0.5689 GB, free: 2.539 MB / 490.7 MB Notification: Performance of Templates: time 0.003201/0.0114, allocations: 1.868 MB / 0.5707 GB, free: 0.7383 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.633220034185797]