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.0006366/0.0006366, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000809/0.001446, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007121/0.0007121, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008986/0.001611, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9832/0.9832, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08425/1.067, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001289/0.001289, allocations: 228.9 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002501, allocations: 471.5 kB / 244.6 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7052/0.7052, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07085/0.776, allocations: 42.39 MB / 426.5 MB, free: 5.957 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.273e-06/1.273e-06, allocations: 0 / 427.8 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.932e-05, allocations: 6.312 kB / 427.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001379/0.001399, allocations: 0.6586 MB / 428.5 MB, free: 3.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.001596, allocations: 79.78 kB / 428.6 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.19e-05/0.001608, allocations: 0 / 428.6 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.001626, allocations: 3.984 kB / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.258e-05/0.001648, allocations: 7.938 kB / 428.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.001794, allocations: 43.88 kB / 428.6 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.919e-05/0.001833, allocations: 23.98 kB / 428.7 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.913e-05/0.001852, allocations: 8 kB / 428.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.001888, allocations: 23.89 kB / 428.7 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.002038, allocations: 71.94 kB / 428.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.00205, allocations: 0 / 428.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.002162, allocations: 47.92 kB / 428.8 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.002192, allocations: 15.94 kB / 428.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.00221, allocations: 11.94 kB / 428.8 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.002323, allocations: 55.88 kB / 428.9 MB, free: 3.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.002338, allocations: 4 kB / 428.9 MB, free: 3.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002338, allocations: 4 kB / 428.9 MB, free: 3.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.002355, allocations: 0 / 428.9 MB, free: 3.516 MB / 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.0003229/0.002678, allocations: 280.4 kB / 429.2 MB, free: 3.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.00271, allocations: 11.98 kB / 429.2 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.002741, allocations: 4.938 kB / 429.2 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.4e-05/0.002805, allocations: 117.7 kB / 429.3 MB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.002817, allocations: 4.375 kB / 429.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.00283, allocations: 8.359 kB / 429.3 MB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.003054, allocations: 375.6 kB / 429.7 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003061, allocations: 192 / 429.7 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.003073, allocations: 12.12 kB / 429.7 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.003119, allocations: 19.98 kB / 429.7 MB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.003159, allocations: 27.86 kB / 429.7 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.006705, allocations: 0.7874 MB / 430.5 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.006768, allocations: 173.1 kB / 430.7 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.00679, allocations: 80.14 kB / 430.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.006806, allocations: 75.28 kB / 430.8 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.006846, allocations: 113.8 kB / 431 MB, free: 1.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.006847, allocations: 0 / 431 MB, free: 1.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.547e-05/0.006913, allocations: 41.56 kB / 431 MB, free: 1.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.006961, allocations: 130.7 kB / 431.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.00706, allocations: 162.4 kB / 431.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.007074, allocations: 29.7 kB / 431.3 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.007145, allocations: 155.5 kB / 431.5 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.007151, allocations: 0 / 431.5 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.007205, allocations: 53.64 kB / 431.5 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.007282, allocations: 318.8 kB / 431.8 MB, free: 332 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.007298, allocations: 8 kB / 431.8 MB, free: 324 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2038/0.2111, allocations: 465.1 kB / 432.3 MB, free: 3.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2112, allocations: 184.1 kB / 432.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2112, allocations: 1.062 kB / 432.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002033/0.2114, allocations: 151.3 kB / 432.6 MB, free: 3.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2114, allocations: 9.312 kB / 432.6 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2114, allocations: 6.281 kB / 432.6 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2115, allocations: 5.844 kB / 432.6 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2116, allocations: 44.39 kB / 432.7 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2116, allocations: 9.531 kB / 432.7 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.2116, allocations: 26.16 kB / 432.7 MB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2117, allocations: 10.62 kB / 432.7 MB, free: 3.121 MB / 410.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 7.081e-05/0.2117, allocations: 211.9 kB / 432.9 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2118, allocations: 112 kB / 433 MB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.2118, allocations: 114.8 kB / 433.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.2118, allocations: 182.1 kB / 433.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.2118, allocations: 185.8 kB / 433.5 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.2118, allocations: 178.7 kB / 433.7 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2119, allocations: 334.2 kB / 434 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.2119, allocations: 103.6 kB / 434.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.2119, allocations: 106 kB / 434.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.212, allocations: 112.8 kB / 434.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-05/0.212, allocations: 179.7 kB / 434.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.212, allocations: 183.2 kB / 434.7 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.212, allocations: 183.6 kB / 434.9 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/0.212, allocations: 185.4 kB / 435 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.2121, allocations: 313 kB / 435.3 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.2122, allocations: 184.1 kB / 435.5 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.2122, allocations: 109.6 kB / 435.6 MB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2123, allocations: 179 kB / 435.8 MB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2123, allocations: 107.9 kB / 435.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.2123, allocations: 36.06 kB / 436 MB, free: 15.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2123, allocations: 0.8438 kB / 436 MB, free: 15.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.2125, allocations: 28.41 kB / 436 MB, free: 15.91 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.0001758/0.2127, allocations: 170.7 kB / 436.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2128, allocations: 69.14 kB / 436.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.2128, allocations: 2.219 kB / 436.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.2128, allocations: 0 / 436.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.213, allocations: 480.2 kB / 436.7 MB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.2132, allocations: 226.1 kB / 436.9 MB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.2133, allocations: 68.56 kB / 437 MB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.2133, allocations: 26.28 kB / 437 MB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2135, allocations: 112.9 kB / 437.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2135, allocations: 0.6562 kB / 437.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003525/0.217, allocations: 1.877 MB / 439 MB, free: 14.88 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.327463226392865]