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.001942/0.001942, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001599/0.001599, allocations: 217 kB / 22.25 MB, free: 4.852 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.785 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.002652/0.002652, allocations: 285.9 kB / 312.7 MB, free: 2.613 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.223/1.223, allocations: 180.6 MB / 0.5369 GB, free: 14.65 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [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.003083/0.003083, allocations: 101.2 kB / 0.74 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1583, allocations: 95.37 MB / 0.8332 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001628/0.16, allocations: 0.6174 MB / 0.8338 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.1603, allocations: 67.8 kB / 0.8338 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1603, allocations: 0 / 0.8338 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.1603, allocations: 4 kB / 0.8338 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.1604, allocations: 11.92 kB / 0.8338 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1607, allocations: 39.95 kB / 0.8339 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.1607, allocations: 31.89 kB / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.1608, allocations: 4.406 kB / 0.8339 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1608, allocations: 4 kB / 0.8339 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.161, allocations: 79.86 kB / 0.834 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.161, allocations: 7.938 kB / 0.834 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1611, allocations: 39.94 kB / 0.834 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.1611, allocations: 15.98 kB / 0.8341 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.1612, allocations: 19.88 kB / 0.8341 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1613, allocations: 63.73 kB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1613, allocations: 4 kB / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1613, allocations: 0 / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1613, allocations: 0 / 0.8341 GB, free: 6.789 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.0003349/0.1616, allocations: 290.1 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1617, allocations: 9.344 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1617, allocations: 12.89 kB / 0.8344 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.1618, allocations: 114.5 kB / 0.8345 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1618, allocations: 4.375 kB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1618, allocations: 8.359 kB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.1622, allocations: 431.1 kB / 0.835 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1622, allocations: 3.938 kB / 0.835 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1622, allocations: 7.984 kB / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.1623, allocations: 23.97 kB / 0.835 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.1623, allocations: 43.84 kB / 0.835 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.1631, allocations: 0.8435 MB / 0.8359 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.1632, allocations: 177.1 kB / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.1632, allocations: 84.14 kB / 0.8361 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1632, allocations: 79.22 kB / 0.8362 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.1633, allocations: 113.8 kB / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1633, allocations: 0 / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.71e-05/0.1634, allocations: 33.66 kB / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/0.1636, allocations: 395.7 kB / 0.8367 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1637, allocations: 169.6 kB / 0.8369 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1638, allocations: 29.7 kB / 0.8369 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.1639, allocations: 155.5 kB / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/0.1639, allocations: 4 kB / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.1639, allocations: 57.66 kB / 0.8371 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1641, allocations: 326.8 kB / 0.8374 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.1641, allocations: 27.92 kB / 0.8374 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1645, allocations: 474.1 kB / 0.8379 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1647, allocations: 201.7 kB / 0.8381 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1647, allocations: 3.984 kB / 0.8381 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003142/0.165, allocations: 193.7 kB / 0.8383 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.165, allocations: 9.562 kB / 0.8383 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.165, allocations: 4 kB / 0.8383 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.165, allocations: 11.98 kB / 0.8383 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1652, allocations: 35.92 kB / 0.8383 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.1652, allocations: 15.88 kB / 0.8384 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.1653, allocations: 19.89 kB / 0.8384 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1653, allocations: 16 kB / 0.8384 GB, free: 1.883 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.0001428/0.1654, allocations: 213.6 kB / 0.8386 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.1655, allocations: 113.1 kB / 0.8387 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.1656, allocations: 120.7 kB / 0.8388 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.284e-05/0.1657, allocations: 184.3 kB / 0.839 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.728e-05/0.1657, allocations: 180.2 kB / 0.8392 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/0.1658, allocations: 181.9 kB / 0.8393 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.1661, allocations: 368.9 kB / 0.8397 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.324e-05/0.1661, allocations: 112.9 kB / 0.8398 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.1662, allocations: 101 kB / 0.8399 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.538e-05/0.1662, allocations: 176.3 kB / 0.8401 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.1663, allocations: 188.2 kB / 0.8402 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.285e-05/0.1664, allocations: 176.3 kB / 0.8404 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.061e-05/0.1665, allocations: 188.2 kB / 0.8406 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1666, allocations: 319.7 kB / 0.8409 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1667, allocations: 113 kB / 0.841 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.1668, allocations: 184.2 kB / 0.8412 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.1669, allocations: 108.9 kB / 0.8413 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.167, allocations: 192.5 kB / 0.8415 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.167, allocations: 108.9 kB / 0.8416 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.1671, allocations: 113.9 kB / 0.8417 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1671, allocations: 0 / 0.8417 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003106/0.1674, allocations: 28 kB / 0.8417 GB, free: 14.3 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.0001839/0.1676, allocations: 190.5 kB / 0.8419 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1678, allocations: 67.78 kB / 0.8419 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1678, allocations: 0 / 0.8419 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.1678, allocations: 5.344 kB / 0.842 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1682, allocations: 468.2 kB / 0.8424 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.1685, allocations: 232.6 kB / 0.8426 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.1685, allocations: 87.83 kB / 0.8427 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.1687, allocations: 52.58 kB / 0.8428 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.1687, allocations: 15.44 kB / 0.8428 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1687, allocations: 0 / 0.8428 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.00474/0.1735, allocations: 1.84 MB / 0.8446 GB, free: 11.38 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.238620024174452] Failed to read output from testmodel.py, exit status != 0: 0.18051840364933014 0.195810631 0.031473833 Calling exit ...