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.7651/0.7651, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001068/0.001068, allocations: 181.1 kB / 191.5 MB, free: 5.77 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.464/1.464, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0008944/0.0008946, allocations: 95.75 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001857, allocations: 284.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004413, allocations: 18.69 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1818, allocations: 82.8 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.3403, allocations: 108.4 MB / 0.8796 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3406, allocations: 77.98 kB / 0.8796 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003287/0.3439, allocations: 1.172 MB / 0.8808 GB, free: 52 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.634e-06/0.344, allocations: 0 / 0.8808 GB, free: 52 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.344, allocations: 0 / 0.8808 GB, free: 52 kB / 0.5417 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.416/0.76, allocations: 341.6 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.76, allocations: 9.625 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.7601, allocations: 7.938 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.7602, allocations: 167.4 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.7602, allocations: 7.297 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.7603, allocations: 3.312 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.7606, allocations: 162.1 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7606, allocations: 3.969 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.7606, allocations: 3.328 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.7607, allocations: 26.88 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.7607, allocations: 36.86 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.7613, allocations: 0.8947 MB / 0.8824 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.7614, allocations: 173.5 kB / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.7614, allocations: 79.22 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.7614, allocations: 107.8 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.7615, allocations: 4.906 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.799e-05/0.7615, allocations: 37.81 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.7616, allocations: 389.1 kB / 0.8831 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.7618, allocations: 154.7 kB / 0.8833 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.7619, allocations: 26.8 kB / 0.8833 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.7619, allocations: 151.2 kB / 0.8835 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.7619, allocations: 1.094 kB / 0.8835 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.7619, allocations: 4.5 kB / 0.8835 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.762, allocations: 317.8 kB / 0.8838 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.7621, allocations: 31.47 kB / 0.8838 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.7622, allocations: 229.8 kB / 0.884 GB, free: 106 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.7623, allocations: 65.88 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7623, allocations: 2.5 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002628/0.7626, allocations: 196.9 kB / 0.8843 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7626, allocations: 6.812 kB / 0.8843 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7626, allocations: 7.969 kB / 0.8843 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.7626, allocations: 9.312 kB / 0.8843 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7627, allocations: 35.38 kB / 0.8843 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.7628, allocations: 8.094 kB / 0.8843 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.78e-05/0.7629, allocations: 29.28 kB / 0.8844 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.7629, allocations: 10.84 kB / 0.8844 GB, free: 105.9 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 () * 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 9.939e-05/0.763, allocations: 211.8 kB / 0.8846 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.763, allocations: 121.8 kB / 0.8847 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.7631, allocations: 116.9 kB / 0.8848 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/0.7631, allocations: 182.3 kB / 0.885 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.645e-05/0.7632, allocations: 180.4 kB / 0.8852 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/0.7632, allocations: 183.1 kB / 0.8853 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.7634, allocations: 424.1 kB / 0.8857 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7634, allocations: 105 kB / 0.8858 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.7634, allocations: 107.7 kB / 0.8859 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-05/0.7634, allocations: 176.3 kB / 0.8861 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.7635, allocations: 183.2 kB / 0.8863 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.049e-05/0.7635, allocations: 186.2 kB / 0.8865 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-05/0.7636, allocations: 181.8 kB / 0.8866 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.634e-05/0.7637, allocations: 311.3 kB / 0.8869 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.7637, allocations: 189.2 kB / 0.8871 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.7638, allocations: 180.9 kB / 0.8873 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.7638, allocations: 114.3 kB / 0.8874 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.7639, allocations: 184.2 kB / 0.8876 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.7639, allocations: 105.7 kB / 0.8877 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.764, allocations: 114.3 kB / 0.8878 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.764, allocations: 0 / 0.8878 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003161/0.7643, allocations: 26.97 kB / 0.8878 GB, free: 102.4 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 () * 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.0001955/0.7645, allocations: 194.2 kB / 0.888 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.7647, allocations: 78.73 kB / 0.8881 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7647, allocations: 2.531 kB / 0.8881 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.7647, allocations: 336 / 0.8881 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.7649, allocations: 0.5279 MB / 0.8886 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.7652, allocations: 236.3 kB / 0.8888 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.7654, allocations: 0.693 MB / 0.8895 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000174/0.7655, allocations: 64.97 kB / 0.8895 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.7656, allocations: 19.53 kB / 0.8896 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.7656, allocations: 0 / 0.8896 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.004011/0.7696, allocations: 1.708 MB / 0.8912 GB, free: 100.6 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)