Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.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.0009849/0.0009849, allocations: 92.2 kB / 20.43 MB, free: 4.137 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.00161/0.00161, allocations: 169 kB / 23.8 MB, free: 0.7656 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.9881/0.9881, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5817/0.5817, allocations: 115 MB / 375.7 MB, free: 7.637 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.711e-05, allocations: 5.156 kB / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003178/0.003195, allocations: 1.967 MB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.005065, allocations: 1.244 MB / 484.7 MB, free: 9.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.005199, allocations: 5.125 kB / 484.7 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.00559, allocations: 98.28 kB / 484.8 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.006017, allocations: 140.6 kB / 485 MB, free: 9.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.006359, allocations: 131.2 kB / 485.1 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.006664, allocations: 234.6 kB / 485.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.006809, allocations: 27.16 kB / 485.4 MB, free: 9.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.007434, allocations: 170.3 kB / 485.5 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.007583, allocations: 88.58 kB / 485.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.007616, allocations: 13.62 kB / 485.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.007745, allocations: 58.27 kB / 485.7 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.007826, allocations: 65.92 kB / 485.7 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.007896, allocations: 48.88 kB / 485.8 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.008301, allocations: 198 kB / 486 MB, free: 9.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.008305, allocations: 4.969 kB / 486 MB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008307, allocations: 0 / 486 MB, free: 9.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.008315, allocations: 0 / 486 MB, free: 9.215 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.000743/0.009058, allocations: 0.571 MB / 486.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.009099, allocations: 10.31 kB / 486.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.009182, allocations: 37.06 kB / 486.6 MB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.009461, allocations: 227.5 kB / 486.8 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.009486, allocations: 17 kB / 486.8 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.009508, allocations: 11.38 kB / 486.9 MB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.00973, allocations: 103.9 kB / 487 MB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.009739, allocations: 0 / 487 MB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.009754, allocations: 4 kB / 487 MB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.009764, allocations: 3 kB / 487 MB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.009859, allocations: 43.09 kB / 487 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.01041, allocations: 418.8 kB / 487.4 MB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.01061, allocations: 86.34 kB / 487.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.01066, allocations: 33.53 kB / 487.5 MB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.01068, allocations: 2.375 kB / 487.5 MB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.01083, allocations: 102.3 kB / 487.6 MB, free: 7.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.01083, allocations: 1.156 kB / 487.6 MB, free: 7.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003798/0.01121, allocations: 177.5 kB / 487.8 MB, free: 7.887 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.01125, allocations: 59.5 kB / 487.9 MB, free: 7.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.01152, allocations: 329.1 kB / 488.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.01154, allocations: 33.33 kB / 488.2 MB, free: 7.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.01179, allocations: 184.7 kB / 488.4 MB, free: 23.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.01183, allocations: 46.56 kB / 488.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.0119, allocations: 67.3 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01201, allocations: 0.5091 MB / 489 MB, free: 22.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.01208, allocations: 37.28 kB / 489.1 MB, free: 22.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.01217, allocations: 99.09 kB / 489.2 MB, free: 22.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.0123, allocations: 130.4 kB / 489.3 MB, free: 22.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0123, allocations: 1.344 kB / 489.3 MB, free: 22.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002266/0.01253, allocations: 205.8 kB / 489.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01255, allocations: 6.375 kB / 489.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01255, allocations: 1.125 kB / 489.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01257, allocations: 7.5 kB / 489.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01271, allocations: 43.42 kB / 489.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01271, allocations: 6.734 kB / 489.5 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.01278, allocations: 25.75 kB / 489.6 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.0128, allocations: 11.81 kB / 489.6 MB, free: 22.52 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: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.795e-05/0.01289, allocations: 174.7 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.01292, allocations: 31.11 kB / 489.8 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.01313, allocations: 151.2 kB / 489.9 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01313, allocations: 7.312 kB / 489.9 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01313, allocations: 0 / 489.9 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01314, allocations: 0 / 489.9 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.01352, allocations: 0.4945 MB / 490.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01352, allocations: 1.312 kB / 490.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.01356, allocations: 16.06 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01357, allocations: 2.625 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01358, allocations: 8.859 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01358, allocations: 1.125 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01358, allocations: 5.25 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.01378, allocations: 309.6 kB / 490.8 MB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.0138, allocations: 23.61 kB / 490.8 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01382, allocations: 13.16 kB / 490.8 MB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.01388, allocations: 12.78 kB / 490.8 MB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.01393, allocations: 19.8 kB / 490.8 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01394, allocations: 5.031 kB / 490.8 MB, free: 21.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.01407, allocations: 212.2 kB / 491.1 MB, free: 21.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01407, allocations: 0 / 491.1 MB, free: 21.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.01428, allocations: 49.2 kB / 491.1 MB, free: 21.46 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008127/0.0151, allocations: 407.7 kB / 491.5 MB, free: 21.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.01529, allocations: 114 kB / 491.6 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01529, allocations: 0 / 491.6 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.01536, allocations: 56.84 kB / 491.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.01563, allocations: 72.16 kB / 491.7 MB, free: 21.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.01616, allocations: 375.2 kB / 492.1 MB, free: 21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.612e-05/0.01621, allocations: 85.39 kB / 492.2 MB, free: 20.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.01628, allocations: 31.73 kB / 492.2 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.01634, allocations: 35.12 kB / 492.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01634, allocations: 0 / 492.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of Templates: time 0.00566/0.022, allocations: 3.52 MB / 495.8 MB, free: 20.57 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.539845470804721]