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.000936/0.000936, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.455/0.455, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.264/1.264, allocations: 221.3 MB / 348.3 MB, free: 424 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009014, allocations: 99.67 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.718e-05, allocations: 8 kB / 0.4897 GB, free: 5.238 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4394, allocations: 101.2 MB / 0.6591 GB, free: 3.098 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4397, allocations: 75.95 kB / 0.6592 GB, free: 3.023 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003085/0.4428, allocations: 1.175 MB / 0.6604 GB, free: 1.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4428, allocations: 0 / 0.6604 GB, free: 1.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.4429, allocations: 4 kB / 0.6604 GB, free: 1.855 MB / 474.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.0002914/0.4432, allocations: 347.4 kB / 0.6607 GB, free: 1.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4432, allocations: 15.98 kB / 0.6607 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.4433, allocations: 48.48 kB / 0.6608 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.4433, allocations: 11.86 kB / 0.6608 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.4434, allocations: 167 kB / 0.6609 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4434, allocations: 3.984 kB / 0.6609 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4435, allocations: 4 kB / 0.6609 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.4437, allocations: 166.1 kB / 0.6611 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4437, allocations: 0 / 0.6611 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4438, allocations: 4 kB / 0.6611 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.4438, allocations: 22.42 kB / 0.6611 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.4439, allocations: 35.88 kB / 0.6612 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.4445, allocations: 0.8867 MB / 0.662 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/0.4446, allocations: 173.1 kB / 0.6622 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.4447, allocations: 88.06 kB / 0.6623 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4447, allocations: 75.28 kB / 0.6623 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.4447, allocations: 109.8 kB / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.4447, allocations: 0 / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.558e-05/0.4448, allocations: 33.61 kB / 0.6625 GB, free: 15.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.445, allocations: 399.7 kB / 0.6629 GB, free: 15.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4451, allocations: 145.4 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4452, allocations: 33.69 kB / 0.663 GB, free: 14.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.4453, allocations: 147.3 kB / 0.6632 GB, free: 14.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.4453, allocations: 8 kB / 0.6632 GB, free: 14.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.4453, allocations: 0 / 0.6632 GB, free: 14.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4454, allocations: 322.8 kB / 0.6635 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.4455, allocations: 28.36 kB / 0.6635 GB, free: 14.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.4456, allocations: 217.6 kB / 0.6637 GB, free: 14.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.4457, allocations: 67.84 kB / 0.6638 GB, free: 13.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4457, allocations: 0 / 0.6638 GB, free: 13.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002898/0.446, allocations: 189.1 kB / 0.664 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4461, allocations: 8 kB / 0.664 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4461, allocations: 4 kB / 0.664 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4461, allocations: 8 kB / 0.664 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4462, allocations: 36.58 kB / 0.664 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.4463, allocations: 20.77 kB / 0.664 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/0.4464, allocations: 32.39 kB / 0.6641 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4464, allocations: 8 kB / 0.6641 GB, free: 13.64 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 () * 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.0001129/0.4465, allocations: 204.1 kB / 0.6643 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.4466, allocations: 108.9 kB / 0.6644 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.4466, allocations: 120.6 kB / 0.6645 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/0.4467, allocations: 176.6 kB / 0.6647 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.4468, allocations: 188.3 kB / 0.6648 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.435e-05/0.4468, allocations: 180.2 kB / 0.665 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.4471, allocations: 430.5 kB / 0.6654 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.85e-05/0.4471, allocations: 104.9 kB / 0.6655 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.4472, allocations: 101 kB / 0.6656 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.4472, allocations: 184.3 kB / 0.6658 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.4473, allocations: 181.1 kB / 0.666 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-05/0.4474, allocations: 176.3 kB / 0.6661 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-05/0.4474, allocations: 188.2 kB / 0.6663 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.4476, allocations: 319.6 kB / 0.6666 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.4477, allocations: 178.1 kB / 0.6668 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.4478, allocations: 188.2 kB / 0.667 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.4478, allocations: 109.2 kB / 0.6671 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.4479, allocations: 176.3 kB / 0.6672 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.448, allocations: 112.9 kB / 0.6674 GB, free: 10.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.448, allocations: 122.1 kB / 0.6675 GB, free: 9.949 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4481, allocations: 3.844 kB / 0.6675 GB, free: 9.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.4483, allocations: 28 kB / 0.6675 GB, free: 9.922 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 () * 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.0004959/0.4489, allocations: 0.8243 MB / 0.6683 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.449, allocations: 75.8 kB / 0.6684 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.449, allocations: 0 / 0.6684 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.449, allocations: 7.938 kB / 0.6684 GB, free: 8.984 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4493, allocations: 0.5288 MB / 0.6689 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.4498, allocations: 238.1 kB / 0.6691 GB, free: 8.184 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.45, allocations: 0.6971 MB / 0.6698 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.4502, allocations: 60.5 kB / 0.6699 GB, free: 7.402 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.4502, allocations: 15.44 kB / 0.6699 GB, free: 7.387 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4503, allocations: 0 / 0.6699 GB, free: 7.387 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.4632, allocations: 2.776 MB / 0.6726 GB, free: 4.789 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.4634, allocations: 150.2 kB / 0.6727 GB, free: 4.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.879, allocations: 0 / 0.6727 GB, free: 4.57 MB / 490.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)