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.001022/0.001022, allocations: 92.22 kB / 19.65 MB, free: 276 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.001008/0.001008, allocations: 173 kB / 23.02 MB, free: 1.547 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.9605/0.9605, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0019/0.0019, allocations: 238 kB / 260.2 MB, free: 12.81 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.7087/0.7087, allocations: 138.4 MB / 455.2 MB, free: 1.477 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 1.653e-06/1.653e-06, allocations: 0 / 0.5552 GB, free: 412 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.404e-05, allocations: 2.312 kB / 0.5552 GB, free: 408 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001788/0.001822, allocations: 0.6273 MB / 0.5558 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003279/0.00215, allocations: 63.86 kB / 0.5558 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.002174, allocations: 0 / 0.5558 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.002212, allocations: 3.984 kB / 0.5558 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.002252, allocations: 11.88 kB / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.002573, allocations: 47.94 kB / 0.5559 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.002649, allocations: 23.97 kB / 0.5559 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.002687, allocations: 0 / 0.5559 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.002738, allocations: 27.91 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.002997, allocations: 71.91 kB / 0.556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.003015, allocations: 0 / 0.556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.00313, allocations: 43.94 kB / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.003174, allocations: 19.92 kB / 0.5561 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.003196, allocations: 8 kB / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.003345, allocations: 83.7 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003347, allocations: 0 / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003348, allocations: 0 / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.003352, allocations: 4 kB / 0.5562 GB, free: 15.37 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.0003016/0.003654, allocations: 392.5 kB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.00369, allocations: 8.75 kB / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.003728, allocations: 12.88 kB / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.207e-05/0.00379, allocations: 112.6 kB / 0.5567 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003798, allocations: 4.312 kB / 0.5567 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.003815, allocations: 8.375 kB / 0.5567 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.004072, allocations: 393.9 kB / 0.5571 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.004081, allocations: 8.125 kB / 0.5571 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.004096, allocations: 8.125 kB / 0.5571 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.00414, allocations: 15.98 kB / 0.5571 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.004183, allocations: 27.92 kB / 0.5571 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.004892, allocations: 1.215 MB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.004992, allocations: 265.4 kB / 0.5586 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.005037, allocations: 126.9 kB / 0.5587 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.005071, allocations: 119.2 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.005132, allocations: 172.4 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.005133, allocations: 0 / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.368e-05/0.005196, allocations: 37.66 kB / 0.559 GB, free: 12.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.005367, allocations: 435.6 kB / 0.5594 GB, free: 11.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.005527, allocations: 228.7 kB / 0.5596 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.005543, allocations: 25.7 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.005644, allocations: 202.3 kB / 0.5598 GB, free: 11.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-06/0.005648, allocations: 0 / 0.5598 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.005716, allocations: 63.31 kB / 0.5599 GB, free: 11.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.005876, allocations: 0.4923 MB / 0.5604 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.005905, allocations: 15.92 kB / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.006213, allocations: 0.5383 MB / 0.5609 GB, free: 9.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.006412, allocations: 249.1 kB / 0.5612 GB, free: 9.598 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.006416, allocations: 4 kB / 0.5612 GB, free: 9.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000263/0.006679, allocations: 173.2 kB / 0.5613 GB, free: 9.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.006694, allocations: 8 kB / 0.5613 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.006701, allocations: 4 kB / 0.5613 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.006717, allocations: 8.656 kB / 0.5614 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.006829, allocations: 39.92 kB / 0.5614 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.00684, allocations: 15.92 kB / 0.5614 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.006928, allocations: 31.78 kB / 0.5614 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.006945, allocations: 11.94 kB / 0.5615 GB, free: 9.301 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.0001295/0.007074, allocations: 295.7 kB / 0.5617 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.007148, allocations: 156.8 kB / 0.5619 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.007201, allocations: 156.7 kB / 0.562 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-05/0.007282, allocations: 264.1 kB / 0.5623 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.939e-05/0.007361, allocations: 276 kB / 0.5625 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.472e-05/0.007436, allocations: 272.2 kB / 0.5628 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.007678, allocations: 0.5193 MB / 0.5633 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/0.007719, allocations: 144.9 kB / 0.5635 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.007769, allocations: 148.9 kB / 0.5636 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.646e-05/0.007845, allocations: 268 kB / 0.5639 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.00792, allocations: 268.1 kB / 0.5641 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.461e-05/0.007994, allocations: 272 kB / 0.5644 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.442e-05/0.008069, allocations: 268.1 kB / 0.5646 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.008233, allocations: 451.9 kB / 0.5651 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.00829, allocations: 160.8 kB / 0.5652 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/0.008386, allocations: 276 kB / 0.5655 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.008478, allocations: 148.9 kB / 0.5656 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.008557, allocations: 272 kB / 0.5659 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.008609, allocations: 148.9 kB / 0.566 GB, free: 4.434 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.008699, allocations: 153.9 kB / 0.5662 GB, free: 4.285 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008699, allocations: 0 / 0.5662 GB, free: 4.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.009064, allocations: 31.94 kB / 0.5662 GB, free: 4.254 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.0002402/0.009304, allocations: 226.4 kB / 0.5664 GB, free: 4.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.009483, allocations: 80.28 kB / 0.5665 GB, free: 3.941 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.009487, allocations: 0 / 0.5665 GB, free: 3.941 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.00949, allocations: 3.938 kB / 0.5665 GB, free: 3.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.009974, allocations: 0.7179 MB / 0.5672 GB, free: 3.215 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.01031, allocations: 264.3 kB / 0.5674 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.319e-05/0.01037, allocations: 71.92 kB / 0.5675 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.01051, allocations: 49.09 kB / 0.5676 GB, free: 2.789 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.01053, allocations: 16.5 kB / 0.5676 GB, free: 2.773 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01053, allocations: 0 / 0.5676 GB, free: 2.773 MB / 490.7 MB Notification: Performance of Templates: time 0.004559/0.01509, allocations: 2.02 MB / 0.5695 GB, free: 0.8281 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.683111247140914]