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.001527/0.001527, 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.001658/0.001658, 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.048/1.048, 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.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 3.787e-06/3.787e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.881e-05/5.26e-05, allocations: 3.719 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.004802/0.004855, allocations: 1.891 MB / 482.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.007796, allocations: 1.208 MB / 483.9 MB, free: 9.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.007943, allocations: 5.156 kB / 483.9 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.00843, allocations: 102.2 kB / 484 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.008989, allocations: 141.9 kB / 484.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.009467, allocations: 130.5 kB / 484.3 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.009866, allocations: 237.2 kB / 484.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.01004, allocations: 26.19 kB / 484.5 MB, free: 9.523 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.01029, allocations: 131.5 kB / 484.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.01051, allocations: 96.77 kB / 484.7 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.01056, allocations: 14.84 kB / 484.8 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.01074, allocations: 55.75 kB / 484.8 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01084, allocations: 64.8 kB / 484.9 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.01095, allocations: 53.83 kB / 484.9 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.01144, allocations: 283.9 kB / 485.2 MB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01144, allocations: 1.188 kB / 485.2 MB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01144, allocations: 1.125 kB / 485.2 MB, free: 9.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.01145, allocations: 0 / 485.2 MB, free: 9.254 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.00112/0.01257, allocations: 484.5 kB / 485.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.01262, allocations: 13.45 kB / 485.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.01274, allocations: 41.22 kB / 485.7 MB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.01318, allocations: 225.7 kB / 486 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.01321, allocations: 13.81 kB / 486 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.01325, allocations: 11.72 kB / 486 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.01367, allocations: 112.4 kB / 486.1 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01368, allocations: 3.984 kB / 486.1 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.01371, allocations: 12.22 kB / 486.1 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01371, allocations: 3.156 kB / 486.1 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.01413, allocations: 97.12 kB / 486.2 MB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.01499, allocations: 371.2 kB / 486.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.01549, allocations: 124.3 kB / 486.7 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.01572, allocations: 52.55 kB / 486.7 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.01575, allocations: 7.188 kB / 486.7 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.01613, allocations: 122.8 kB / 486.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.01614, allocations: 2.031 kB / 486.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001004/0.01714, allocations: 260.3 kB / 487.1 MB, free: 8.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.01717, allocations: 54.5 kB / 487.2 MB, free: 7.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.01765, allocations: 342 kB / 487.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01768, allocations: 32.45 kB / 487.5 MB, free: 7.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01778, allocations: 143 kB / 487.7 MB, free: 7.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.01784, allocations: 41.86 kB / 487.7 MB, free: 7.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.01796, allocations: 59.52 kB / 487.8 MB, free: 7.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003289/0.01829, allocations: 340.8 kB / 488.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.0186, allocations: 84.97 kB / 488.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.01895, allocations: 137.5 kB / 488.3 MB, free: 23.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.01954, allocations: 190 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.01954, allocations: 2.375 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008593/0.0204, allocations: 293.6 kB / 488.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.02042, allocations: 6.25 kB / 488.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.02043, allocations: 1.5 kB / 488.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.02046, allocations: 8.188 kB / 488.8 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.02076, allocations: 41.52 kB / 488.9 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.02078, allocations: 2.281 kB / 488.9 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.02103, allocations: 27.48 kB / 488.9 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.02107, allocations: 11.88 kB / 488.9 MB, free: 22.92 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 0.0002199/0.02129, allocations: 164.3 kB / 489.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.02136, allocations: 31.05 kB / 489.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/0.02206, allocations: 215.5 kB / 489.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.02207, allocations: 7.031 kB / 489.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.02208, allocations: 0 / 489.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.02208, allocations: 3.969 kB / 489.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.02321, allocations: 0.4898 MB / 489.8 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02322, allocations: 5.5 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.02335, allocations: 13.83 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.02336, allocations: 1.062 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.02338, allocations: 9.953 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.02338, allocations: 5.328 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.02339, allocations: 1.469 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.02414, allocations: 314.8 kB / 490.1 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.0242, allocations: 33.64 kB / 490.2 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.02425, allocations: 8.688 kB / 490.2 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.0245, allocations: 18.56 kB / 490.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.02459, allocations: 16.11 kB / 490.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.02461, allocations: 9.844 kB / 490.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.02495, allocations: 210.3 kB / 490.4 MB, free: 21.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02495, allocations: 1.062 kB / 490.4 MB, free: 21.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005675/0.02552, allocations: 52.77 kB / 490.5 MB, free: 21.98 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.00275/0.02827, allocations: 451.6 kB / 490.9 MB, free: 21.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007031/0.02897, allocations: 178.8 kB / 491.1 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02897, allocations: 1.781 kB / 491.1 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.02926, allocations: 73.3 kB / 491.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.02997, allocations: 60.56 kB / 491.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.03116, allocations: 427.7 kB / 491.7 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.03134, allocations: 148.5 kB / 491.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.03149, allocations: 29.7 kB / 491.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.0316, allocations: 28.47 kB / 491.9 MB, free: 21.4 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/0.0316, allocations: 0 / 491.9 MB, free: 21.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01068/0.04228, allocations: 3.322 MB / 495.2 MB, free: 21.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.676996895112097]