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.0009352/0.0009352, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001861/0.001861, allocations: 169 kB / 23.27 MB, free: 1.223 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.9816/0.9816, allocations: 177.2 MB / 203.7 MB, free: 5.527 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.001752/0.001752, allocations: 241.7 kB / 260.5 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.7237/0.7237, allocations: 138.4 MB / 455.5 MB, free: 1.375 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.763e-06/1.763e-06, allocations: 0 / 0.5557 GB, free: 164 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.728e-05, allocations: 2.312 kB / 0.5557 GB, free: 160 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001069/0.001087, allocations: 0.6157 MB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.001358, allocations: 63.84 kB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.001382, allocations: 4 kB / 0.5563 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.001416, allocations: 7.922 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.001464, allocations: 11.94 kB / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.001748, allocations: 39.94 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.001801, allocations: 27.86 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.001835, allocations: 7.984 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.001871, allocations: 19.97 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.002039, allocations: 67.92 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.002053, allocations: 0 / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.002138, allocations: 43.94 kB / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.002172, allocations: 27.91 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.002188, allocations: 8 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.002305, allocations: 75.78 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002306, allocations: 0 / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002307, allocations: 0 / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.00231, allocations: 0 / 0.5567 GB, free: 15.14 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.0002709/0.002581, allocations: 396.4 kB / 0.557 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.002618, allocations: 8.75 kB / 0.557 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.002649, allocations: 12.89 kB / 0.5571 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.478e-05/0.002704, allocations: 112.5 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002714, allocations: 8.359 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.002723, allocations: 8.375 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.003095, allocations: 381.9 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.003102, allocations: 4.188 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.003114, allocations: 8.125 kB / 0.5576 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.003152, allocations: 27.91 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.81e-05/0.00318, allocations: 23.86 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.003667, allocations: 1.189 MB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.003744, allocations: 269.4 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.003777, allocations: 130.9 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.003803, allocations: 123.2 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.00385, allocations: 156.6 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.003851, allocations: 0 / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.817e-05/0.003909, allocations: 41.59 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.00403, allocations: 439.5 kB / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.004145, allocations: 228.3 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.004156, allocations: 29.7 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.00423, allocations: 198.2 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.004232, allocations: 0 / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.004277, allocations: 67.3 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.004381, allocations: 0.4923 MB / 0.5608 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.004393, allocations: 11.98 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.004589, allocations: 0.5461 MB / 0.5614 GB, free: 9.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.004718, allocations: 237.2 kB / 0.5616 GB, free: 9.406 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.004721, allocations: 4 kB / 0.5616 GB, free: 9.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001636/0.004884, allocations: 165.1 kB / 0.5618 GB, free: 9.234 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.004897, allocations: 8.656 kB / 0.5618 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.004903, allocations: 4 kB / 0.5618 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.004914, allocations: 12 kB / 0.5618 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.004991, allocations: 39.92 kB / 0.5618 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.004999, allocations: 15.97 kB / 0.5619 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.005056, allocations: 31.78 kB / 0.5619 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.005065, allocations: 11.94 kB / 0.5619 GB, free: 9.113 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.0001048/0.005169, allocations: 291.6 kB / 0.5622 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.005223, allocations: 156.8 kB / 0.5623 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.005269, allocations: 160.7 kB / 0.5625 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-05/0.005326, allocations: 268 kB / 0.5627 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.188e-05/0.005388, allocations: 268.1 kB / 0.563 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/0.005452, allocations: 276.1 kB / 0.5633 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.005628, allocations: 0.4887 MB / 0.5637 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.005663, allocations: 144.9 kB / 0.5639 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.005699, allocations: 156.8 kB / 0.564 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.193e-05/0.005761, allocations: 264.1 kB / 0.5643 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/0.006144, allocations: 272 kB / 0.5645 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.077e-05/0.006205, allocations: 272.1 kB / 0.5648 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.292e-05/0.006258, allocations: 264.1 kB / 0.565 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.006382, allocations: 451.9 kB / 0.5655 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.006422, allocations: 160.8 kB / 0.5656 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.006486, allocations: 272.1 kB / 0.5659 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.006545, allocations: 156.8 kB / 0.566 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.006601, allocations: 264.1 kB / 0.5663 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.006631, allocations: 148.9 kB / 0.5664 GB, free: 4.285 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.00668, allocations: 149.8 kB / 0.5666 GB, free: 4.141 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00668, allocations: 0 / 0.5666 GB, free: 4.141 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.006885, allocations: 31.94 kB / 0.5666 GB, free: 4.109 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.0001282/0.007014, allocations: 230.4 kB / 0.5668 GB, free: 3.875 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.007116, allocations: 79.45 kB / 0.5669 GB, free: 3.793 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007117, allocations: 4 kB / 0.5669 GB, free: 3.789 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.007118, allocations: 0 / 0.5669 GB, free: 3.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.007402, allocations: 0.7179 MB / 0.5676 GB, free: 3.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.007598, allocations: 273.5 kB / 0.5679 GB, free: 2.773 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.007633, allocations: 60 kB / 0.5679 GB, free: 2.691 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.007695, allocations: 24.64 kB / 0.5679 GB, free: 2.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.007817, allocations: 138.2 kB / 0.5681 GB, free: 2.531 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007817, allocations: 0 / 0.5681 GB, free: 2.531 MB / 490.7 MB Notification: Performance of Templates: time 0.002925/0.01074, allocations: 1.864 MB / 0.5699 GB, free: 0.7305 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.573823368642479]