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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 211.6 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002474/0.002474, allocations: 289.9 kB / 312.7 MB, free: 2.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 110.2 kB / 0.7395 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1591, allocations: 95.37 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00178/0.1609, allocations: 0.6078 MB / 0.8333 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.1612, allocations: 67.8 kB / 0.8333 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.1613, allocations: 0 / 0.8333 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.1613, allocations: 3.984 kB / 0.8333 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.1613, allocations: 11.88 kB / 0.8334 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1616, allocations: 51.94 kB / 0.8334 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.1617, allocations: 27.86 kB / 0.8334 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1617, allocations: 4.391 kB / 0.8334 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.1617, allocations: 11.98 kB / 0.8334 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1619, allocations: 71.88 kB / 0.8335 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1619, allocations: 0 / 0.8335 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1621, allocations: 43.94 kB / 0.8336 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.1621, allocations: 15.98 kB / 0.8336 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1621, allocations: 15.88 kB / 0.8336 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1623, allocations: 68.02 kB / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1623, allocations: 0 / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1623, allocations: 4 kB / 0.8337 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1623, allocations: 4 kB / 0.8337 GB, free: 7.277 MB / 0.5762 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.0003675/0.1626, allocations: 294.1 kB / 0.8339 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1627, allocations: 9.344 kB / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.1627, allocations: 42.73 kB / 0.834 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1627, allocations: 8.891 kB / 0.834 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.021e-05/0.1628, allocations: 110.5 kB / 0.8341 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1628, allocations: 384 / 0.8341 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1629, allocations: 4.359 kB / 0.8341 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.1632, allocations: 442.5 kB / 0.8345 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1632, allocations: 0 / 0.8345 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1633, allocations: 4 kB / 0.8345 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.1633, allocations: 27.97 kB / 0.8346 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.735e-05/0.1634, allocations: 35.92 kB / 0.8346 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.1641, allocations: 0.8741 MB / 0.8354 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.1642, allocations: 173.1 kB / 0.8356 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.1642, allocations: 88.08 kB / 0.8357 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.1643, allocations: 79.27 kB / 0.8358 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.1643, allocations: 113.8 kB / 0.8359 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1643, allocations: 0 / 0.8359 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.471e-05/0.1644, allocations: 33.66 kB / 0.8359 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/0.1647, allocations: 399.7 kB / 0.8363 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1648, allocations: 176.2 kB / 0.8365 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1648, allocations: 29.7 kB / 0.8365 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.1649, allocations: 151.5 kB / 0.8366 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.1649, allocations: 0 / 0.8366 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.165, allocations: 57.66 kB / 0.8367 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1652, allocations: 322.8 kB / 0.837 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.1652, allocations: 23.98 kB / 0.837 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.1655, allocations: 483.5 kB / 0.8375 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1657, allocations: 201.8 kB / 0.8377 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1657, allocations: 0 / 0.8377 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003121/0.1661, allocations: 189.2 kB / 0.8379 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1661, allocations: 8 kB / 0.8379 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1661, allocations: 7.984 kB / 0.8379 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.1661, allocations: 7.938 kB / 0.8379 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1662, allocations: 40.58 kB / 0.8379 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.1663, allocations: 11.94 kB / 0.8379 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.1663, allocations: 23.89 kB / 0.838 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1664, allocations: 12 kB / 0.838 GB, free: 2.293 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.1665, allocations: 217.6 kB / 0.8382 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.1666, allocations: 108.9 kB / 0.8383 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.1667, allocations: 128.5 kB / 0.8384 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.658e-05/0.1667, allocations: 184.3 kB / 0.8386 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.527e-05/0.1668, allocations: 180.2 kB / 0.8387 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.132e-05/0.1669, allocations: 177.9 kB / 0.8389 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.1671, allocations: 396.3 kB / 0.8393 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-05/0.1672, allocations: 112.9 kB / 0.8394 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.1672, allocations: 101 kB / 0.8395 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.422e-05/0.1673, allocations: 180.2 kB / 0.8397 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.1674, allocations: 184.2 kB / 0.8398 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.1674, allocations: 180.3 kB / 0.84 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.824e-05/0.1675, allocations: 188.1 kB / 0.8402 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1677, allocations: 315.7 kB / 0.8405 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1678, allocations: 104.9 kB / 0.8406 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.543e-05/0.1679, allocations: 188.2 kB / 0.8408 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.1679, allocations: 108.9 kB / 0.8409 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.168, allocations: 184.6 kB / 0.8411 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.1681, allocations: 112.9 kB / 0.8412 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.249e-05/0.1682, allocations: 112.2 kB / 0.8413 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1682, allocations: 0 / 0.8413 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003132/0.1685, allocations: 28 kB / 0.8413 GB, free: 14.68 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005202/0.169, allocations: 0.8282 MB / 0.8421 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1692, allocations: 76.97 kB / 0.8422 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.1692, allocations: 4 kB / 0.8422 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.1692, allocations: 0 / 0.8422 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1696, allocations: 469 kB / 0.8426 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.1702, allocations: 274.4 kB / 0.8429 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.1703, allocations: 79.92 kB / 0.843 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.1705, allocations: 60.62 kB / 0.843 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.1706, allocations: 19.44 kB / 0.843 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1706, allocations: 0 / 0.843 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.1994, allocations: 3.614 MB / 0.8466 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.85, allocations: 6.984 kB / 0.8466 GB, free: 9.387 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.939781665802002] Failed to read output from testmodel.py, exit status != 0: 10.956441958900541 10.981214633 10.814548585 Calling exit ...