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/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7903/0.7903, allocations: 141.8 MB / 149.3 MB, free: 9.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 180.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008521, allocations: 88.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 294.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.486e-05, allocations: 4 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4023, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.5289, allocations: 107.6 MB / 0.8625 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.5292, allocations: 79.83 kB / 0.8626 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002953/0.5321, allocations: 1.17 MB / 0.8637 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5322, allocations: 4 kB / 0.8637 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5322, allocations: 0 / 0.8637 GB, free: 2.973 MB / 0.5261 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.0002772/0.5325, allocations: 342.4 kB / 0.8641 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5325, allocations: 8.031 kB / 0.8641 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.5326, allocations: 4 kB / 0.8641 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.5327, allocations: 171 kB / 0.8642 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.5327, allocations: 11.88 kB / 0.8642 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.5327, allocations: 0 / 0.8642 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.336e-05/0.5328, allocations: 36.17 kB / 0.8643 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.533, allocations: 153 kB / 0.8644 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.533, allocations: 0 / 0.8644 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.533, allocations: 7.984 kB / 0.8644 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.533, allocations: 19.98 kB / 0.8644 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.5336, allocations: 0.8716 MB / 0.8653 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.5337, allocations: 173.1 kB / 0.8655 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.5337, allocations: 80.14 kB / 0.8655 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.5338, allocations: 75.28 kB / 0.8656 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.5338, allocations: 113.8 kB / 0.8657 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5338, allocations: 3.938 kB / 0.8657 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.924e-05/0.5339, allocations: 33.61 kB / 0.8658 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.534, allocations: 316.4 kB / 0.8661 GB, free: 320 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.5342, allocations: 155.8 kB / 0.8662 GB, free: 160 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.5342, allocations: 29.7 kB / 0.8662 GB, free: 124 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.5343, allocations: 143.5 kB / 0.8664 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.5343, allocations: 3.984 kB / 0.8664 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5343, allocations: 0 / 0.8664 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.5344, allocations: 318.8 kB / 0.8667 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.5345, allocations: 20.36 kB / 0.8667 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5346, allocations: 211.1 kB / 0.8669 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.5347, allocations: 67.83 kB / 0.867 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5347, allocations: 0 / 0.867 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002443/0.5349, allocations: 157.6 kB / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.535, allocations: 7.781 kB / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.535, allocations: 8 kB / 0.8671 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.535, allocations: 4 kB / 0.8671 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5351, allocations: 43.92 kB / 0.8672 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5351, allocations: 7.938 kB / 0.8672 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.5352, allocations: 19.84 kB / 0.8672 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.5353, allocations: 8 kB / 0.8672 GB, free: 15.01 MB / 0.5417 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 () * 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 9.945e-05/0.5354, allocations: 200.4 kB / 0.8674 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.5354, allocations: 116.8 kB / 0.8675 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.5355, allocations: 109 kB / 0.8676 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/0.5355, allocations: 188.1 kB / 0.8678 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.493e-05/0.5356, allocations: 180.6 kB / 0.868 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.417e-05/0.5357, allocations: 184.3 kB / 0.8681 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.5359, allocations: 401.7 kB / 0.8685 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/0.5359, allocations: 101 kB / 0.8686 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.5359, allocations: 105 kB / 0.8687 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.329e-05/0.536, allocations: 180.2 kB / 0.8689 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.5361, allocations: 180.3 kB / 0.8691 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-05/0.5361, allocations: 185.5 kB / 0.8692 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.753e-05/0.5362, allocations: 180.2 kB / 0.8694 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.5363, allocations: 315.7 kB / 0.8697 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.159e-05/0.5364, allocations: 186 kB / 0.8699 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.5365, allocations: 180.3 kB / 0.8701 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/0.5366, allocations: 108.9 kB / 0.8702 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.5366, allocations: 192.2 kB / 0.8704 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.5367, allocations: 101 kB / 0.8704 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.5368, allocations: 110.5 kB / 0.8706 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5368, allocations: 0 / 0.8706 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000318/0.5371, allocations: 20 kB / 0.8706 GB, free: 11.36 MB / 0.5417 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 () * 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.000178/0.5373, allocations: 190.6 kB / 0.8708 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.5374, allocations: 68.05 kB / 0.8708 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5374, allocations: 0 / 0.8708 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.5374, allocations: 0 / 0.8708 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.5377, allocations: 0.5315 MB / 0.8713 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.5379, allocations: 187.5 kB / 0.8715 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.5382, allocations: 0.6968 MB / 0.8722 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.5384, allocations: 64.11 kB / 0.8723 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.5384, allocations: 15.44 kB / 0.8723 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.5384, allocations: 0 / 0.8723 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of Templates: time 0.003722/0.5421, allocations: 1.697 MB / 0.8739 GB, free: 7.895 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)