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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 110.1 kB / 19.58 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 186.6 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002351/0.002351, allocations: 286.8 kB / 307 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.159/1.159, allocations: 180.8 MB / 0.5304 GB, free: 14.41 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 100.1 kB / 0.7311 GB, free: 38.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1665, allocations: 94.21 MB / 0.8231 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00182/0.1683, allocations: 0.6186 MB / 0.8237 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.1687, allocations: 71.78 kB / 0.8238 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.1687, allocations: 0 / 0.8238 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.1687, allocations: 0 / 0.8238 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.1688, allocations: 11.92 kB / 0.8238 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1691, allocations: 43.95 kB / 0.8238 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.043e-05/0.1691, allocations: 27.91 kB / 0.8239 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.1692, allocations: 4.406 kB / 0.8239 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.1692, allocations: 19.92 kB / 0.8239 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1694, allocations: 67.88 kB / 0.8239 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1695, allocations: 0 / 0.8239 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1696, allocations: 43.94 kB / 0.824 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1696, allocations: 23.92 kB / 0.824 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.1696, allocations: 23.8 kB / 0.824 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1698, allocations: 63.8 kB / 0.8241 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1698, allocations: 4 kB / 0.8241 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.41e-07/0.1698, allocations: 0 / 0.8241 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1698, allocations: 0 / 0.8241 GB, free: 0.9609 MB / 0.5606 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.0003301/0.1701, allocations: 295.9 kB / 0.8244 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1701, allocations: 8.031 kB / 0.8244 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1702, allocations: 16.83 kB / 0.8244 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.977e-05/0.1703, allocations: 114.5 kB / 0.8245 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1703, allocations: 384 / 0.8245 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1703, allocations: 4.375 kB / 0.8245 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1705, allocations: 184.3 kB / 0.8247 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1706, allocations: 4 kB / 0.8247 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1706, allocations: 0 / 0.8247 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.1706, allocations: 19.98 kB / 0.8247 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.1707, allocations: 39.91 kB / 0.8248 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.1715, allocations: 0.8819 MB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.1716, allocations: 173.1 kB / 0.8258 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.1717, allocations: 80.14 kB / 0.8259 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.1717, allocations: 75.28 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/0.1718, allocations: 117.8 kB / 0.826 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1718, allocations: 0 / 0.826 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.38e-05/0.1719, allocations: 33.66 kB / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.1721, allocations: 391.7 kB / 0.8264 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1723, allocations: 168.3 kB / 0.8266 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1723, allocations: 25.7 kB / 0.8266 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1724, allocations: 155.5 kB / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1724, allocations: 4 kB / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.1725, allocations: 49.7 kB / 0.8268 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1726, allocations: 326.8 kB / 0.8271 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.1726, allocations: 31.97 kB / 0.8272 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1728, allocations: 214.5 kB / 0.8274 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1731, allocations: 197.8 kB / 0.8276 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1731, allocations: 0 / 0.8276 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003111/0.1734, allocations: 193.4 kB / 0.8277 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1734, allocations: 8 kB / 0.8278 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1734, allocations: 4.094 kB / 0.8278 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1734, allocations: 15.88 kB / 0.8278 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1735, allocations: 39.92 kB / 0.8278 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.1736, allocations: 11.94 kB / 0.8278 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.1736, allocations: 27.78 kB / 0.8278 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1737, allocations: 12.41 kB / 0.8279 GB, free: 12.66 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.0001412/0.1738, allocations: 213.7 kB / 0.8281 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.1739, allocations: 116.9 kB / 0.8282 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.1739, allocations: 116.7 kB / 0.8283 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.089e-05/0.174, allocations: 184.2 kB / 0.8285 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.699e-05/0.1741, allocations: 184.2 kB / 0.8286 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-05/0.1742, allocations: 188.2 kB / 0.8288 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.1744, allocations: 388.3 kB / 0.8292 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-05/0.1745, allocations: 110.4 kB / 0.8293 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.1745, allocations: 101 kB / 0.8294 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.1746, allocations: 180.2 kB / 0.8296 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/0.1747, allocations: 188.2 kB / 0.8297 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.532e-05/0.1748, allocations: 184.2 kB / 0.8299 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.937e-05/0.1749, allocations: 180.2 kB / 0.8301 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1751, allocations: 311.7 kB / 0.8304 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.1751, allocations: 112.9 kB / 0.8305 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.1753, allocations: 184.3 kB / 0.8307 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.1754, allocations: 112.9 kB / 0.8308 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.1755, allocations: 184.6 kB / 0.831 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.1755, allocations: 104.9 kB / 0.8311 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.022e-05/0.1756, allocations: 118 kB / 0.8312 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1756, allocations: 4 kB / 0.8312 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003211/0.1759, allocations: 31.94 kB / 0.8312 GB, free: 9.035 MB / 0.5762 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.0001892/0.1761, allocations: 182.5 kB / 0.8314 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1763, allocations: 68.84 kB / 0.8314 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1763, allocations: 0 / 0.8314 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.1763, allocations: 8.281 kB / 0.8314 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.1768, allocations: 468.8 kB / 0.8319 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.1771, allocations: 232.6 kB / 0.8321 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1774, allocations: 0.6929 MB / 0.8328 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.1776, allocations: 56.58 kB / 0.8328 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1776, allocations: 11.44 kB / 0.8329 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.1776, allocations: 4 kB / 0.8329 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.004638/0.1822, allocations: 1.78 MB / 0.8346 GB, free: 5.52 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.629272348000086] Failed to read output from testmodel.py, exit status != 0: 0.18953877199965063 0.203955468 0.031300208 Calling exit ...