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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8473/0.8473, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001212/0.001212, allocations: 184.8 kB / 182.2 MB, free: 9.43 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.555/1.555, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.001005/0.001005, allocations: 88.05 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 274.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.959e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5077, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.6596, allocations: 107.6 MB / 0.8626 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.66, allocations: 75.95 kB / 0.8627 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003446/0.6635, allocations: 1.182 MB / 0.8638 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6635, allocations: 4 kB / 0.8638 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6635, allocations: 0 / 0.8638 GB, free: 2.863 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.0003134/0.6638, allocations: 346.3 kB / 0.8641 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/0.6639, allocations: 8.031 kB / 0.8642 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.664, allocations: 4 kB / 0.8642 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.6641, allocations: 175 kB / 0.8643 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.6641, allocations: 7.953 kB / 0.8643 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.6642, allocations: 0 / 0.8643 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/0.6643, allocations: 36.17 kB / 0.8644 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.6645, allocations: 148.8 kB / 0.8645 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6645, allocations: 0 / 0.8645 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.6645, allocations: 4 kB / 0.8645 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.6646, allocations: 27.92 kB / 0.8645 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.6652, allocations: 0.8638 MB / 0.8654 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.6653, allocations: 177 kB / 0.8656 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.6654, allocations: 80.14 kB / 0.8656 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.6654, allocations: 75.28 kB / 0.8657 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.6655, allocations: 109.8 kB / 0.8658 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6655, allocations: 4 kB / 0.8658 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.65e-05/0.6656, allocations: 37.61 kB / 0.8658 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.6657, allocations: 312.4 kB / 0.8661 GB, free: 212 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6659, allocations: 155.6 kB / 0.8663 GB, free: 52 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.6659, allocations: 25.7 kB / 0.8663 GB, free: 20 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.666, allocations: 147.3 kB / 0.8665 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-06/0.666, allocations: 3.984 kB / 0.8665 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.6661, allocations: 0 / 0.8665 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6662, allocations: 322.8 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.6662, allocations: 20.36 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.6664, allocations: 209.1 kB / 0.867 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.6665, allocations: 67.83 kB / 0.8671 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6665, allocations: 0 / 0.8671 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002636/0.6668, allocations: 161.2 kB / 0.8672 GB, free: 15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6668, allocations: 9.203 kB / 0.8672 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6668, allocations: 8 kB / 0.8672 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.6669, allocations: 7.984 kB / 0.8672 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.667, allocations: 44.58 kB / 0.8673 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.667, allocations: 7.984 kB / 0.8673 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.6671, allocations: 23.84 kB / 0.8673 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.6671, allocations: 8 kB / 0.8673 GB, free: 14.89 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 0.0001187/0.6672, allocations: 192.2 kB / 0.8675 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.016e-05/0.6673, allocations: 150.5 kB / 0.8676 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.6674, allocations: 112.8 kB / 0.8677 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.6675, allocations: 117.2 kB / 0.8679 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-05/0.6676, allocations: 184.3 kB / 0.868 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.821e-05/0.6676, allocations: 180.3 kB / 0.8682 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/0.6677, allocations: 180.2 kB / 0.8684 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.668, allocations: 397.8 kB / 0.8688 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-05/0.668, allocations: 105 kB / 0.8689 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.6681, allocations: 106.2 kB / 0.869 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.521e-05/0.6682, allocations: 188.2 kB / 0.8691 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/0.6682, allocations: 180.2 kB / 0.8693 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.331e-05/0.6683, allocations: 184.2 kB / 0.8695 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-05/0.6684, allocations: 182.1 kB / 0.8697 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.6686, allocations: 311.7 kB / 0.87 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6687, allocations: 186 kB / 0.8701 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.6688, allocations: 184.2 kB / 0.8703 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.6689, allocations: 104.9 kB / 0.8704 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.669, allocations: 184.6 kB / 0.8706 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.669, allocations: 105 kB / 0.8707 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.714e-05/0.6691, allocations: 122.4 kB / 0.8708 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6692, allocations: 0 / 0.8708 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003575/0.6695, allocations: 20 kB / 0.8708 GB, free: 11.08 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.0005167/0.67, allocations: 0.8298 MB / 0.8716 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.6702, allocations: 63.73 kB / 0.8717 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6702, allocations: 4 kB / 0.8717 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.6702, allocations: 0 / 0.8717 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.6705, allocations: 0.5276 MB / 0.8722 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.671, allocations: 225.2 kB / 0.8724 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.6713, allocations: 0.6929 MB / 0.8731 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.6715, allocations: 58.92 kB / 0.8732 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.6715, allocations: 19.44 kB / 0.8732 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6715, allocations: 0 / 0.8732 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.6987, allocations: 2.489 MB / 0.8756 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/0.6991, allocations: 160.1 kB / 0.8758 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.41, allocations: 0 / 0.8758 GB, free: 5.938 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)