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.001105/0.001105, allocations: 92.22 kB / 19.65 MB, free: 280 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.00137/0.00137, allocations: 165 kB / 23.01 MB, free: 1.555 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 0.9808/0.9808, allocations: 177.1 MB / 203.4 MB, free: 5.184 MB / 186.7 MB " [Timeout remaining time 179] 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.002459/0.002459, allocations: 238.4 kB / 260.2 MB, free: 12.68 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 0.8142/0.8142, allocations: 138.4 MB / 455.1 MB, free: 29.79 MB / 410.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 1.533e-06/1.533e-06, allocations: 0 / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.764e-05, allocations: 5.969 kB / 0.5552 GB, free: 60 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001016/0.001034, allocations: 0.6243 MB / 0.5558 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.001297, allocations: 67.8 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.001319, allocations: 0 / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.001359, allocations: 4 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.001399, allocations: 0 / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.001676, allocations: 47.88 kB / 0.5559 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.001732, allocations: 31.89 kB / 0.5559 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.001764, allocations: 4 kB / 0.5559 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.001797, allocations: 19.98 kB / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.001958, allocations: 75.84 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.001973, allocations: 0 / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.002055, allocations: 43.92 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.002087, allocations: 12 kB / 0.5561 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.002111, allocations: 19.92 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.00225, allocations: 71.78 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002252, allocations: 0 / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.002253, allocations: 0 / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.002256, allocations: 4 kB / 0.5561 GB, free: 15.04 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.0002711/0.002527, allocations: 400.4 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.00256, allocations: 9.938 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.002597, allocations: 8.891 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.847e-05/0.002655, allocations: 116.5 kB / 0.5567 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.002668, allocations: 4.375 kB / 0.5567 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.002683, allocations: 8.375 kB / 0.5567 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.002904, allocations: 393.9 kB / 0.557 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.002913, allocations: 192 / 0.557 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.002925, allocations: 8.125 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.002966, allocations: 19.98 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.003002, allocations: 27.86 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.003577, allocations: 1.208 MB / 0.5583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.003659, allocations: 277.4 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.003689, allocations: 126.9 kB / 0.5587 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.003712, allocations: 119.2 kB / 0.5588 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.003758, allocations: 160.5 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.003758, allocations: 0 / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.404e-05/0.003812, allocations: 37.59 kB / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.003927, allocations: 439.6 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.004039, allocations: 232.5 kB / 0.5596 GB, free: 11.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.00405, allocations: 25.7 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.004123, allocations: 202.3 kB / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.004128, allocations: 8 kB / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.004172, allocations: 59.31 kB / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.00428, allocations: 0.5 MB / 0.5604 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.0043, allocations: 15.92 kB / 0.5604 GB, free: 10.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.004498, allocations: 0.5422 MB / 0.5609 GB, free: 9.578 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.004633, allocations: 245.2 kB / 0.5612 GB, free: 9.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.004637, allocations: 4 kB / 0.5612 GB, free: 9.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001832/0.00482, allocations: 173.4 kB / 0.5613 GB, free: 9.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004832, allocations: 8 kB / 0.5613 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.004838, allocations: 4 kB / 0.5613 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.004856, allocations: 8 kB / 0.5613 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.004936, allocations: 35.92 kB / 0.5614 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.004947, allocations: 15.92 kB / 0.5614 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.004997, allocations: 31.78 kB / 0.5614 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.005008, allocations: 16.31 kB / 0.5614 GB, free: 8.953 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 9.628e-05/0.005105, allocations: 295.7 kB / 0.5617 GB, free: 8.652 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.005156, allocations: 152.8 kB / 0.5619 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.005204, allocations: 168.4 kB / 0.562 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-05/0.005259, allocations: 264.1 kB / 0.5623 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.604e-05/0.005315, allocations: 268.1 kB / 0.5625 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-05/0.005368, allocations: 268 kB / 0.5628 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.00553, allocations: 0.5115 MB / 0.5633 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/0.005561, allocations: 148.8 kB / 0.5634 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.005591, allocations: 148.9 kB / 0.5636 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.282e-05/0.005644, allocations: 264.1 kB / 0.5638 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.005699, allocations: 272 kB / 0.5641 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.513e-05/0.005754, allocations: 268.1 kB / 0.5643 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-05/0.005811, allocations: 276 kB / 0.5646 GB, free: 5.578 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.00593, allocations: 455.9 kB / 0.565 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.005972, allocations: 152.8 kB / 0.5652 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.006049, allocations: 276.1 kB / 0.5654 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.006107, allocations: 152.8 kB / 0.5656 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.006166, allocations: 264.4 kB / 0.5658 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.006198, allocations: 152.8 kB / 0.566 GB, free: 4.094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.006251, allocations: 157.7 kB / 0.5661 GB, free: 3.941 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006251, allocations: 0 / 0.5661 GB, free: 3.941 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.006448, allocations: 35.94 kB / 0.5662 GB, free: 3.906 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.0001357/0.006584, allocations: 234.4 kB / 0.5664 GB, free: 3.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.006695, allocations: 76.59 kB / 0.5665 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006697, allocations: 0 / 0.5665 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.006698, allocations: 0 / 0.5665 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.006975, allocations: 0.7257 MB / 0.5672 GB, free: 2.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.007193, allocations: 260.4 kB / 0.5674 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.00723, allocations: 75.86 kB / 0.5675 GB, free: 2.484 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.979e-05/0.00732, allocations: 52.58 kB / 0.5676 GB, free: 2.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.007335, allocations: 16.5 kB / 0.5676 GB, free: 2.418 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007335, allocations: 0 / 0.5676 GB, free: 2.418 MB / 490.7 MB Notification: Performance of Templates: time 0.002946/0.01028, allocations: 1.819 MB / 0.5693 GB, free: 0.6836 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: 3.8961429679766297]