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.0009447/0.0009447, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001018/0.001018, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.033/1.033, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.002516/0.002516, allocations: 241.6 kB / 260.5 MB, free: 12.7 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.7762/0.7762, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.443e-06/1.443e-06, allocations: 0 / 462.4 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.352e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002474/0.002498, allocations: 0.6738 MB / 463.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.002866, allocations: 64.8 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.002894, allocations: 1.156 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.00293, allocations: 2.016 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.002982, allocations: 11.61 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.003328, allocations: 44.47 kB / 463.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.003408, allocations: 24.47 kB / 463.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.003448, allocations: 4.125 kB / 463.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.003504, allocations: 22.33 kB / 463.3 MB, free: 400 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.003739, allocations: 69.12 kB / 463.3 MB, free: 380 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.003756, allocations: 1.094 kB / 463.3 MB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.003909, allocations: 52.52 kB / 463.4 MB, free: 368 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.003957, allocations: 23.64 kB / 463.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.003985, allocations: 10.55 kB / 463.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.004124, allocations: 85.03 kB / 463.5 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004126, allocations: 0.6094 kB / 463.5 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004127, allocations: 0 / 463.5 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004131, allocations: 0.9844 kB / 463.5 MB, free: 328 kB / 410.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.0001817/0.004313, allocations: 253.9 kB / 463.8 MB, free: 80 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.004343, allocations: 9.625 kB / 463.8 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.004369, allocations: 12.17 kB / 463.8 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.984e-05/0.004429, allocations: 114.9 kB / 463.9 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.004437, allocations: 1.469 kB / 463.9 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.004448, allocations: 7.875 kB / 463.9 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.004654, allocations: 367.7 kB / 464.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.00466, allocations: 5.438 kB / 464.3 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.004672, allocations: 11.12 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.004715, allocations: 21.67 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.004749, allocations: 25.5 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.00518, allocations: 0.793 MB / 465.1 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.005238, allocations: 171.5 kB / 465.3 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.005261, allocations: 81.45 kB / 465.4 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.005281, allocations: 80.34 kB / 465.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.005318, allocations: 113.7 kB / 465.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.00532, allocations: 1.156 kB / 465.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 5.891e-05/0.005378, allocations: 37.16 kB / 465.6 MB, free: 14.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.005496, allocations: 391.1 kB / 466 MB, free: 13.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.005585, allocations: 159.5 kB / 466.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.005597, allocations: 28.33 kB / 466.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.005661, allocations: 150.5 kB / 466.3 MB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/0.005666, allocations: 7.438 kB / 466.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.005716, allocations: 49.97 kB / 466.4 MB, free: 13.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.005793, allocations: 319.2 kB / 466.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.005808, allocations: 15.12 kB / 466.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.006022, allocations: 472.1 kB / 467.1 MB, free: 12.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.006156, allocations: 182.4 kB / 467.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.00616, allocations: 2.719 kB / 467.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000175/0.006335, allocations: 152.3 kB / 467.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.006348, allocations: 7.047 kB / 467.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.006356, allocations: 8.906 kB / 467.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006369, allocations: 6.531 kB / 467.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.006456, allocations: 41.75 kB / 467.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.006463, allocations: 7.266 kB / 467.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.006531, allocations: 30.69 kB / 467.6 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.006542, allocations: 9.812 kB / 467.6 MB, free: 12.31 MB / 426.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 8.686e-05/0.006628, allocations: 215.7 kB / 467.8 MB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.006679, allocations: 112.9 kB / 467.9 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.006717, allocations: 111.9 kB / 468 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-05/0.006765, allocations: 186 kB / 468.2 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/0.006814, allocations: 182 kB / 468.4 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/0.006856, allocations: 182.2 kB / 468.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.006997, allocations: 332 kB / 468.9 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/0.007025, allocations: 106.3 kB / 469 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.007054, allocations: 108.4 kB / 469.1 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.746e-05/0.007102, allocations: 182.7 kB / 469.3 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.007274, allocations: 183.1 kB / 469.4 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.552e-05/0.007329, allocations: 187.6 kB / 469.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.306e-05/0.007372, allocations: 178.9 kB / 469.8 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.007509, allocations: 312.2 kB / 470.1 MB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.007545, allocations: 111.1 kB / 470.2 MB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.007598, allocations: 187.8 kB / 470.4 MB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.007659, allocations: 108 kB / 470.5 MB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.00771, allocations: 186.3 kB / 470.7 MB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.007742, allocations: 102.9 kB / 470.8 MB, free: 9.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.007781, allocations: 33.59 kB / 470.8 MB, free: 9.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007781, allocations: 1.094 kB / 470.8 MB, free: 9.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.007993, allocations: 30.56 kB / 470.8 MB, free: 9.008 MB / 426.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.0001855/0.008178, allocations: 164.6 kB / 471 MB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.008279, allocations: 66.95 kB / 471.1 MB, free: 8.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.008288, allocations: 8.312 kB / 471.1 MB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.008289, allocations: 0 / 471.1 MB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.008488, allocations: 477.6 kB / 471.5 MB, free: 8.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.008706, allocations: 215 kB / 471.8 MB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.008748, allocations: 63.97 kB / 471.8 MB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.008825, allocations: 22.8 kB / 471.8 MB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.008966, allocations: 112.8 kB / 471.9 MB, free: 8.062 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.008967, allocations: 0 / 471.9 MB, free: 8.062 MB / 426.7 MB Notification: Performance of Templates: time 0.003649/0.01262, allocations: 1.872 MB / 473.8 MB, free: 6.613 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6578384479507804]