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.001825/0.001825, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00202/0.00202, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 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.003219/0.003219, allocations: 236.6 kB / 259.8 MB, free: 12.71 MB / 250.7 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.183/1.183, allocations: 138.4 MB / 454.7 MB, free: 1.469 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5544 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/4.021e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002894/0.002934, allocations: 0.5997 MB / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000465/0.003399, allocations: 67.86 kB / 0.555 GB, free: 112 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.003429, allocations: 0 / 0.555 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/0.003494, allocations: 3.938 kB / 0.555 GB, free: 108 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.003556, allocations: 11.92 kB / 0.5551 GB, free: 96 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.003979, allocations: 43.94 kB / 0.5551 GB, free: 52 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.004073, allocations: 23.91 kB / 0.5551 GB, free: 28 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.004124, allocations: 11.98 kB / 0.5551 GB, free: 16 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.004194, allocations: 11.98 kB / 0.5551 GB, free: 4 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.004534, allocations: 71.92 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.004571, allocations: 7.984 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.004769, allocations: 43.88 kB / 0.5553 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.004834, allocations: 19.92 kB / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.004877, allocations: 11.98 kB / 0.5553 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.005123, allocations: 75.78 kB / 0.5554 GB, free: 15.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005126, allocations: 0 / 0.5554 GB, free: 15.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005127, allocations: 0 / 0.5554 GB, free: 15.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.005133, allocations: 0 / 0.5554 GB, free: 15.78 MB / 490.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.0006837/0.005816, allocations: 396.1 kB / 0.5557 GB, free: 15.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.005865, allocations: 12.75 kB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.005948, allocations: 12.89 kB / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.006106, allocations: 112.6 kB / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.006122, allocations: 384 / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.006155, allocations: 12.38 kB / 0.5559 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.006772, allocations: 385.9 kB / 0.5563 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.006785, allocations: 192 / 0.5563 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.006815, allocations: 12.11 kB / 0.5563 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-05/0.006901, allocations: 23.97 kB / 0.5563 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.007, allocations: 27.86 kB / 0.5563 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.008683, allocations: 1.219 MB / 0.5575 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.008945, allocations: 265.4 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.009067, allocations: 134.8 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.009172, allocations: 123.2 kB / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.009325, allocations: 156.5 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.009326, allocations: 0 / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001641/0.00949, allocations: 41.64 kB / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004196/0.00991, allocations: 431.6 kB / 0.5586 GB, free: 12.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.01028, allocations: 232.1 kB / 0.5588 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.01032, allocations: 29.7 kB / 0.5589 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.01056, allocations: 194.3 kB / 0.559 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.01057, allocations: 7.984 kB / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.01071, allocations: 63.3 kB / 0.5591 GB, free: 11.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004061/0.01112, allocations: 0.4884 MB / 0.5596 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.01118, allocations: 19.92 kB / 0.5596 GB, free: 11.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007741/0.01196, allocations: 0.5384 MB / 0.5601 GB, free: 10.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.01243, allocations: 249.1 kB / 0.5604 GB, free: 9.996 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.01244, allocations: 0 / 0.5604 GB, free: 9.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006002/0.01304, allocations: 181.6 kB / 0.5605 GB, free: 9.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.01307, allocations: 4 kB / 0.5605 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.01308, allocations: 4 kB / 0.5606 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.0131, allocations: 8 kB / 0.5606 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.01335, allocations: 39.92 kB / 0.5606 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.01337, allocations: 7.984 kB / 0.5606 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.01355, allocations: 27.84 kB / 0.5606 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.01358, allocations: 11.94 kB / 0.5606 GB, free: 9.711 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 () * 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.0003172/0.0139, allocations: 299.6 kB / 0.5609 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.01411, allocations: 164.9 kB / 0.5611 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.01427, allocations: 156.7 kB / 0.5612 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002286/0.0145, allocations: 272 kB / 0.5615 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002213/0.01472, allocations: 264.1 kB / 0.5617 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002265/0.01495, allocations: 268.2 kB / 0.562 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.01556, allocations: 0.5154 MB / 0.5625 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001248/0.01569, allocations: 148.9 kB / 0.5626 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.01582, allocations: 148.8 kB / 0.5628 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.01606, allocations: 268 kB / 0.563 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.0163, allocations: 272.1 kB / 0.5633 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002332/0.01654, allocations: 272 kB / 0.5636 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002268/0.01676, allocations: 268.1 kB / 0.5638 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.01724, allocations: 463.8 kB / 0.5643 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.0174, allocations: 156.8 kB / 0.5644 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.01765, allocations: 264.1 kB / 0.5647 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.01787, allocations: 152.9 kB / 0.5648 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.01811, allocations: 272 kB / 0.5651 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.01825, allocations: 148.9 kB / 0.5652 GB, free: 4.836 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.01844, allocations: 153.7 kB / 0.5654 GB, free: 4.688 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01844, allocations: 0 / 0.5654 GB, free: 4.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.01901, allocations: 24 kB / 0.5654 GB, free: 4.664 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 () * 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.0004233/0.01944, allocations: 234.4 kB / 0.5656 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.01973, allocations: 79.41 kB / 0.5657 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.01973, allocations: 1.312 kB / 0.5657 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.01974, allocations: 4 kB / 0.5657 GB, free: 4.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009858/0.02073, allocations: 0.7218 MB / 0.5664 GB, free: 3.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.02131, allocations: 275.4 kB / 0.5667 GB, free: 3.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.02147, allocations: 76.17 kB / 0.5667 GB, free: 3.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000292/0.02176, allocations: 52.58 kB / 0.5668 GB, free: 3.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.02182, allocations: 16.5 kB / 0.5668 GB, free: 3.156 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02182, allocations: 0 / 0.5668 GB, free: 3.156 MB / 490.7 MB Notification: Performance of Templates: time 0.009178/0.031, allocations: 1.823 MB / 0.5686 GB, free: 1.406 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.922998010995798]