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.00132/0.00132, allocations: 85.22 kB / 19.94 MB, free: 1.781 MB / 14.72 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.001426/0.001426, allocations: 162.8 kB / 23.21 MB, free: 4.91 MB / 14.72 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.359/1.359, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8836/0.8836, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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 2.474e-06/2.474e-06, allocations: 0 / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.269e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003441/0.003474, allocations: 1.899 MB / 0.5565 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.005736, allocations: 1.215 MB / 0.5577 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.005837, allocations: 4 kB / 0.5577 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.006187, allocations: 95.5 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.006556, allocations: 147.2 kB / 0.558 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.006858, allocations: 131.4 kB / 0.5581 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.007162, allocations: 239.3 kB / 0.5583 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.007305, allocations: 25.8 kB / 0.5583 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.00752, allocations: 131.6 kB / 0.5585 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.007689, allocations: 91.75 kB / 0.5586 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.007722, allocations: 16 kB / 0.5586 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.00785, allocations: 59.86 kB / 0.5586 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.007946, allocations: 63.81 kB / 0.5587 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.008039, allocations: 55.78 kB / 0.5587 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.008447, allocations: 287 kB / 0.559 GB, free: 14.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008451, allocations: 0 / 0.559 GB, free: 14.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008452, allocations: 0 / 0.559 GB, free: 14.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.008458, allocations: 0 / 0.559 GB, free: 14.17 MB / 478.1 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.0009231/0.009381, allocations: 480.9 kB / 0.5595 GB, free: 13.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.009413, allocations: 8.625 kB / 0.5595 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.009472, allocations: 24.8 kB / 0.5595 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.009825, allocations: 229 kB / 0.5597 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.009849, allocations: 15.94 kB / 0.5597 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.009871, allocations: 11.98 kB / 0.5598 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.01018, allocations: 121.6 kB / 0.5599 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.01019, allocations: 0 / 0.5599 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.0102, allocations: 0 / 0.5599 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.01021, allocations: 4 kB / 0.5599 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.0105, allocations: 95.8 kB / 0.56 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.01116, allocations: 372.3 kB / 0.5603 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.01151, allocations: 118.6 kB / 0.5604 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.01168, allocations: 60.81 kB / 0.5605 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.0117, allocations: 0 / 0.5605 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.01198, allocations: 123.3 kB / 0.5606 GB, free: 12.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.01199, allocations: 0 / 0.5606 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.000677/0.01266, allocations: 257.2 kB / 0.5609 GB, free: 12.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.01272, allocations: 67.31 kB / 0.5609 GB, free: 12.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.01309, allocations: 341.8 kB / 0.5612 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01312, allocations: 29.7 kB / 0.5613 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01323, allocations: 140.5 kB / 0.5614 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.01327, allocations: 47.69 kB / 0.5614 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-05/0.01336, allocations: 53.7 kB / 0.5615 GB, free: 11.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.01352, allocations: 334.8 kB / 0.5618 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.01373, allocations: 87.94 kB / 0.5619 GB, free: 11.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.01399, allocations: 133 kB / 0.562 GB, free: 10.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.01441, allocations: 191.1 kB / 0.5622 GB, free: 10.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.01441, allocations: 0 / 0.5622 GB, free: 10.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005892/0.015, allocations: 291.5 kB / 0.5625 GB, free: 10.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01502, allocations: 4.156 kB / 0.5625 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01502, allocations: 4 kB / 0.5625 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.01504, allocations: 7.938 kB / 0.5625 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.01524, allocations: 43.91 kB / 0.5625 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.01525, allocations: 0 / 0.5625 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.0154, allocations: 19.98 kB / 0.5626 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.01543, allocations: 12 kB / 0.5626 GB, free: 10.32 MB / 478.1 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.0001674/0.01559, allocations: 166.7 kB / 0.5627 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.01563, allocations: 27.81 kB / 0.5628 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.01614, allocations: 213.2 kB / 0.563 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.01615, allocations: 7.922 kB / 0.563 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01615, allocations: 4 kB / 0.563 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01616, allocations: 3.984 kB / 0.563 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.01699, allocations: 0.4903 MB / 0.5635 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.01699, allocations: 3.938 kB / 0.5635 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.01709, allocations: 23.92 kB / 0.5635 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01709, allocations: 0 / 0.5635 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01711, allocations: 7.984 kB / 0.5635 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01711, allocations: 0 / 0.5635 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01711, allocations: 0 / 0.5635 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.01762, allocations: 305.1 kB / 0.5638 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.01767, allocations: 31.72 kB / 0.5638 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.0177, allocations: 8 kB / 0.5638 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.01786, allocations: 15.98 kB / 0.5638 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.01792, allocations: 15.97 kB / 0.5639 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.01794, allocations: 8 kB / 0.5639 GB, free: 8.941 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.01816, allocations: 213.2 kB / 0.5641 GB, free: 8.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01816, allocations: 0 / 0.5641 GB, free: 8.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.0185, allocations: 51.89 kB / 0.5641 GB, free: 8.68 MB / 478.1 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.001616/0.02012, allocations: 458.6 kB / 0.5646 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.0206, allocations: 183.8 kB / 0.5647 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.0206, allocations: 0 / 0.5647 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.0208, allocations: 62.16 kB / 0.5648 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.02121, allocations: 60.45 kB / 0.5648 GB, free: 8.145 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.02207, allocations: 426.9 kB / 0.5653 GB, free: 7.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.02223, allocations: 145 kB / 0.5654 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.02233, allocations: 37.92 kB / 0.5654 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.0224, allocations: 24.5 kB / 0.5654 GB, free: 7.48 MB / 478.1 MB Notification: Performance of SimCode: time 4.1e-07/0.0224, allocations: 4 kB / 0.5655 GB, free: 7.477 MB / 478.1 MB Notification: Performance of Templates: time 0.007609/0.03001, allocations: 3.308 MB / 0.5687 GB, free: 4.23 MB / 478.1 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.09352907165885] Failed to read output from testmodel.py, exit status != 0: 0.03858334198594093 0.052725364000000004 0.041211959 Calling exit ...