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.002166/0.002166, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5146/0.5146, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 343.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 91.89 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.352e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1577, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6448, allocations: 100.5 MB / 0.6518 GB, free: 9.746 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.6451, allocations: 80.06 kB / 0.6519 GB, free: 9.699 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002937/0.648, allocations: 1.17 MB / 0.653 GB, free: 8.621 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.648, allocations: 4 kB / 0.653 GB, free: 8.617 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.648, allocations: 4 kB / 0.653 GB, free: 8.613 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.0003279/0.6484, allocations: 342.7 kB / 0.6534 GB, free: 8.238 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6484, allocations: 12.03 kB / 0.6534 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.6485, allocations: 11.86 kB / 0.6534 GB, free: 8.215 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6486, allocations: 166.5 kB / 0.6535 GB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6486, allocations: 0 / 0.6535 GB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.6486, allocations: 7.938 kB / 0.6535 GB, free: 8.008 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.841e-05/0.6487, allocations: 31.8 kB / 0.6536 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.6489, allocations: 154.5 kB / 0.6537 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.649, allocations: 3.938 kB / 0.6537 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.649, allocations: 0 / 0.6537 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.649, allocations: 30.55 kB / 0.6538 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.6497, allocations: 0.8714 MB / 0.6546 GB, free: 6.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.6498, allocations: 169.1 kB / 0.6548 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.6499, allocations: 80.14 kB / 0.6548 GB, free: 6.637 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.6499, allocations: 75.28 kB / 0.6549 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.65, allocations: 113.6 kB / 0.655 GB, free: 6.445 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.65, allocations: 0 / 0.655 GB, free: 6.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 9.306e-05/0.6501, allocations: 37.55 kB / 0.6551 GB, free: 6.402 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.6502, allocations: 316.4 kB / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.6504, allocations: 153.4 kB / 0.6555 GB, free: 5.879 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.6504, allocations: 25.7 kB / 0.6555 GB, free: 5.848 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.6505, allocations: 142.2 kB / 0.6557 GB, free: 5.711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.6505, allocations: 7.875 kB / 0.6557 GB, free: 5.707 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.6505, allocations: 0 / 0.6557 GB, free: 5.707 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6506, allocations: 321.7 kB / 0.656 GB, free: 5.387 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.6507, allocations: 23.67 kB / 0.656 GB, free: 5.367 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.6508, allocations: 212.5 kB / 0.6562 GB, free: 5.078 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/0.6509, allocations: 53.78 kB / 0.6563 GB, free: 5.031 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.651, allocations: 4 kB / 0.6563 GB, free: 5.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002871/0.6512, allocations: 167.1 kB / 0.6564 GB, free: 4.871 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6513, allocations: 8 kB / 0.6564 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6513, allocations: 4 kB / 0.6564 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6513, allocations: 8 kB / 0.6564 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6514, allocations: 35.92 kB / 0.6565 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6515, allocations: 15.88 kB / 0.6565 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.6516, allocations: 19.75 kB / 0.6565 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.6516, allocations: 15.53 kB / 0.6565 GB, free: 4.77 MB / 458.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.0001111/0.6517, allocations: 196.2 kB / 0.6567 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.52e-05/0.6518, allocations: 146.5 kB / 0.6569 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.6519, allocations: 116.8 kB / 0.657 GB, free: 4.293 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.652, allocations: 116.2 kB / 0.6571 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.6e-05/0.652, allocations: 180.3 kB / 0.6572 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.432e-05/0.6521, allocations: 184.2 kB / 0.6574 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/0.6522, allocations: 183.3 kB / 0.6576 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.6525, allocations: 393.5 kB / 0.658 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/0.6525, allocations: 108.9 kB / 0.6581 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.6525, allocations: 101 kB / 0.6582 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.348e-05/0.6526, allocations: 183.3 kB / 0.6583 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.6527, allocations: 184.2 kB / 0.6585 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.764e-05/0.6528, allocations: 177.2 kB / 0.6587 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.253e-05/0.6529, allocations: 180.2 kB / 0.6589 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.653, allocations: 311 kB / 0.6592 GB, free: 1.922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.6531, allocations: 190 kB / 0.6593 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.6532, allocations: 184.2 kB / 0.6595 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.6533, allocations: 105 kB / 0.6596 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.6534, allocations: 180.6 kB / 0.6598 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.6535, allocations: 109.5 kB / 0.6599 GB, free: 1.117 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.206e-05/0.6535, allocations: 114.3 kB / 0.66 GB, free: 1.016 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6535, allocations: 4 kB / 0.66 GB, free: 1.012 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.6539, allocations: 24 kB / 0.66 GB, free: 0.9883 MB / 458.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.000506/0.6544, allocations: 0.8203 MB / 0.6608 GB, free: 144 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.6545, allocations: 71.22 kB / 0.6609 GB, free: 80 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6546, allocations: 0 / 0.6609 GB, free: 80 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.6546, allocations: 0 / 0.6609 GB, free: 80 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.6549, allocations: 0.5282 MB / 0.6614 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.6554, allocations: 229.3 kB / 0.6616 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.6557, allocations: 0.7007 MB / 0.6623 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.6559, allocations: 61.31 kB / 0.6624 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.656, allocations: 17.31 kB / 0.6624 GB, free: 14.49 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.656, allocations: 0 / 0.6624 GB, free: 14.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.6786, allocations: 2.483 MB / 0.6648 GB, free: 12.05 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.6789, allocations: 140.2 kB / 0.665 GB, free: 11.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.316, allocations: 0 / 0.665 GB, free: 11.86 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)