Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5567/0.5567, allocations: 91.98 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.2 MB / 354.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.0009058, allocations: 92.27 kB / 427.4 MB, free: 3.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 12 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 72.31 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6413, allocations: 101.3 MB / 0.6678 GB, free: 3.191 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.6417, allocations: 75.95 kB / 0.6679 GB, free: 3.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003543/0.6452, allocations: 1.178 MB / 0.669 GB, free: 1.945 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6453, allocations: 0 / 0.669 GB, free: 1.945 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.6453, allocations: 4 kB / 0.669 GB, free: 1.941 MB / 458.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.0003984/0.6457, allocations: 355.9 kB / 0.6694 GB, free: 1.547 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.6457, allocations: 8.031 kB / 0.6694 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.6458, allocations: 53.72 kB / 0.6694 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.6459, allocations: 11.86 kB / 0.6695 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.646, allocations: 163 kB / 0.6696 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.646, allocations: 4 kB / 0.6696 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.646, allocations: 0 / 0.6696 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.6463, allocations: 170.1 kB / 0.6698 GB, free: 1.074 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6464, allocations: 0 / 0.6698 GB, free: 1.074 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.6464, allocations: 4 kB / 0.6698 GB, free: 1.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.6464, allocations: 23.92 kB / 0.6698 GB, free: 1.047 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.6465, allocations: 43.86 kB / 0.6698 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.6473, allocations: 0.8867 MB / 0.6707 GB, free: 48 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.6475, allocations: 165.1 kB / 0.6709 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.6475, allocations: 79.28 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.34e-05/0.6476, allocations: 119.6 kB / 0.6711 GB, free: 15.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.6476, allocations: 0 / 0.6711 GB, free: 15.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 9.602e-05/0.6477, allocations: 37.55 kB / 0.6711 GB, free: 15.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000192/0.6479, allocations: 391.7 kB / 0.6715 GB, free: 15.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.6481, allocations: 149.4 kB / 0.6716 GB, free: 15.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.6481, allocations: 37.7 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.6482, allocations: 143.3 kB / 0.6718 GB, free: 14.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.6482, allocations: 4 kB / 0.6718 GB, free: 14.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.6482, allocations: 0 / 0.6718 GB, free: 14.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6484, allocations: 322.8 kB / 0.6721 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.6484, allocations: 24.36 kB / 0.6721 GB, free: 14.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.6486, allocations: 219.8 kB / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.6487, allocations: 62.92 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6488, allocations: 8 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003675/0.6491, allocations: 185.7 kB / 0.6726 GB, free: 13.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6492, allocations: 12.03 kB / 0.6726 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6492, allocations: 7.938 kB / 0.6726 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.6492, allocations: 11.98 kB / 0.6726 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.6493, allocations: 39.95 kB / 0.6726 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.6494, allocations: 11.94 kB / 0.6727 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.6495, allocations: 31.7 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.6495, allocations: 8 kB / 0.6727 GB, free: 13.8 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.6497, allocations: 217 kB / 0.6729 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.6498, allocations: 116.8 kB / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.099e-05/0.6499, allocations: 116.8 kB / 0.6731 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/0.6499, allocations: 176.3 kB / 0.6733 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.534e-05/0.65, allocations: 184.5 kB / 0.6735 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.963e-05/0.6501, allocations: 180.3 kB / 0.6736 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.6504, allocations: 433.1 kB / 0.674 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/0.6505, allocations: 101 kB / 0.6741 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.6506, allocations: 101 kB / 0.6742 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.811e-05/0.6506, allocations: 183.6 kB / 0.6744 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/0.6507, allocations: 184.2 kB / 0.6746 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.593e-05/0.6508, allocations: 184.2 kB / 0.6748 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.672e-05/0.6509, allocations: 180.3 kB / 0.6749 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.6511, allocations: 315.6 kB / 0.6752 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6512, allocations: 186.1 kB / 0.6754 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.6514, allocations: 184.2 kB / 0.6756 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.6514, allocations: 105 kB / 0.6757 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.6515, allocations: 184.2 kB / 0.6759 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.6516, allocations: 105 kB / 0.676 GB, free: 10.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.6517, allocations: 115 kB / 0.6761 GB, free: 10.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6517, allocations: 0 / 0.6761 GB, free: 10.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.6521, allocations: 32 kB / 0.6761 GB, free: 10.08 MB / 474.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 (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.0006402/0.6527, allocations: 0.8284 MB / 0.6769 GB, free: 9.223 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.6529, allocations: 76.78 kB / 0.677 GB, free: 9.148 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6529, allocations: 320 / 0.677 GB, free: 9.148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.6529, allocations: 4.016 kB / 0.677 GB, free: 9.145 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.6533, allocations: 0.5295 MB / 0.6775 GB, free: 8.613 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.6539, allocations: 293.6 kB / 0.6778 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.6542, allocations: 0.6971 MB / 0.6785 GB, free: 7.562 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.6544, allocations: 60.38 kB / 0.6785 GB, free: 7.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.6545, allocations: 19.44 kB / 0.6786 GB, free: 7.484 MB / 474.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6545, allocations: 0 / 0.6786 GB, free: 7.484 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.671, allocations: 2.755 MB / 0.6812 GB, free: 4.879 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.6714, allocations: 177.8 kB / 0.6814 GB, free: 4.641 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.306, allocations: 0 / 0.6814 GB, free: 4.641 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)