Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.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.001561/0.001561, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001595/0.001595, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.477/1.477, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.064/1.064, allocations: 115 MB / 375.3 MB, free: 7.566 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.255e-05, allocations: 2.312 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002562/0.002594, allocations: 0.8706 MB / 481.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.004517, allocations: 1.074 MB / 482.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.004696, allocations: 4.656 kB / 482.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.004872, allocations: 16.48 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.005114, allocations: 47.55 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.005912, allocations: 144.6 kB / 482.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.006736, allocations: 351.9 kB / 483.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.006938, allocations: 19.58 kB / 483.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008066/0.007744, allocations: 229.5 kB / 483.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.008237, allocations: 193.6 kB / 483.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.008389, allocations: 33.38 kB / 483.8 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.008584, allocations: 42.66 kB / 483.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.008767, allocations: 108.3 kB / 483.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.008982, allocations: 100.4 kB / 484 MB, free: 10 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.009603, allocations: 382.7 kB / 484.4 MB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.009606, allocations: 0.8438 kB / 484.4 MB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009607, allocations: 0 / 484.4 MB, free: 9.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.009621, allocations: 0 / 484.4 MB, free: 9.852 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002858/0.01248, allocations: 0.6973 MB / 485.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.01253, allocations: 10 kB / 485.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.0129, allocations: 43.23 kB / 485.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.0139, allocations: 298.7 kB / 485.4 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.01396, allocations: 13.69 kB / 485.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.01404, allocations: 27.95 kB / 485.5 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.01513, allocations: 343.5 kB / 485.8 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01514, allocations: 0.5625 kB / 485.8 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.01519, allocations: 13.59 kB / 485.8 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.0152, allocations: 4.594 kB / 485.8 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.01608, allocations: 210.9 kB / 486 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.01813, allocations: 0.601 MB / 486.6 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000897/0.01903, allocations: 244.8 kB / 486.9 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/0.01974, allocations: 169.9 kB / 487 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.01978, allocations: 4.531 kB / 487 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009881/0.02077, allocations: 337.8 kB / 487.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.415e-06/0.02077, allocations: 0 / 487.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002538/0.02331, allocations: 0.6401 MB / 488 MB, free: 8.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.02337, allocations: 96.3 kB / 488.1 MB, free: 8.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.02361, allocations: 207.1 kB / 488.3 MB, free: 7.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.956e-05/0.02369, allocations: 55.94 kB / 488.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.02377, allocations: 136.1 kB / 488.5 MB, free: 7.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.02386, allocations: 74.73 kB / 488.6 MB, free: 7.762 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.02401, allocations: 82.97 kB / 488.6 MB, free: 7.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003852/0.0244, allocations: 347.3 kB / 489 MB, free: 23.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.02472, allocations: 112.2 kB / 489.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.02507, allocations: 175 kB / 489.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.02555, allocations: 211.7 kB / 489.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.02555, allocations: 0 / 489.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008538/0.02641, allocations: 352.8 kB / 489.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.02643, allocations: 5.562 kB / 489.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.02644, allocations: 1.844 kB / 489.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.02647, allocations: 3.375 kB / 489.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.02674, allocations: 45.11 kB / 489.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.02676, allocations: 4.531 kB / 489.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.02728, allocations: 79.94 kB / 489.9 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.02732, allocations: 18.94 kB / 490 MB, free: 22.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0002758/0.0276, allocations: 165 kB / 490.1 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.02773, allocations: 38.09 kB / 490.2 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.02781, allocations: 35.55 kB / 490.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.02782, allocations: 3.5 kB / 490.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.02784, allocations: 5.172 kB / 490.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.02784, allocations: 0.5625 kB / 490.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.02813, allocations: 204.1 kB / 490.4 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02813, allocations: 2.062 kB / 490.4 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.02823, allocations: 14.47 kB / 490.4 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.02823, allocations: 2.938 kB / 490.4 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.02828, allocations: 14.17 kB / 490.4 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.02828, allocations: 5.531 kB / 490.4 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.02829, allocations: 1.062 kB / 490.4 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.02999, allocations: 0.5275 MB / 491 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.03004, allocations: 23.48 kB / 491 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.03015, allocations: 23.59 kB / 491 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.03075, allocations: 70.69 kB / 491.1 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.03099, allocations: 75.97 kB / 491.2 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.03105, allocations: 20.23 kB / 491.2 MB, free: 22.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.03124, allocations: 148.2 kB / 491.3 MB, free: 22.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03124, allocations: 0 / 491.3 MB, free: 22.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005224/0.03177, allocations: 65.25 kB / 491.4 MB, free: 22.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002388/0.03201, allocations: 122.3 kB / 491.5 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.03323, allocations: 348.2 kB / 491.8 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03323, allocations: 0 / 491.8 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.03403, allocations: 196.9 kB / 492 MB, free: 21.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.03476, allocations: 96.17 kB / 492.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.03661, allocations: 0.5308 MB / 492.7 MB, free: 21.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.03679, allocations: 135.7 kB / 492.8 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.03704, allocations: 49 kB / 492.8 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.03725, allocations: 49.31 kB / 492.9 MB, free: 21.59 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03725, allocations: 0 / 492.9 MB, free: 21.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01793/0.05518, allocations: 6.197 MB / 499.1 MB, free: 21.13 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.769527165102772]