Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.001206/0.001206, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001422/0.001422, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.5807/0.5807, allocations: 115 MB / 376 MB, free: 7.492 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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 428.8 MB, free: 2.746 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.858e-05, allocations: 2.312 kB / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002535/0.002554, allocations: 2.442 MB / 431.2 MB, free: 292 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.004726, allocations: 1.703 MB / 432.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.004922, allocations: 15.88 kB / 432.9 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.005385, allocations: 318.7 kB / 433.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.005966, allocations: 442 kB / 433.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.006415, allocations: 287.3 kB / 434 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006368/0.007051, allocations: 0.7827 MB / 434.7 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.007173, allocations: 57.84 kB / 434.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.008244, allocations: 0.6093 MB / 435.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.008523, allocations: 279.2 kB / 435.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.008564, allocations: 28 kB / 435.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.008697, allocations: 91.89 kB / 435.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.008834, allocations: 203.2 kB / 436 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.008944, allocations: 147.4 kB / 436.1 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.009377, allocations: 0.4902 MB / 436.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.00938, allocations: 0 / 436.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00938, allocations: 0 / 436.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.009385, allocations: 0 / 436.6 MB, free: 10.88 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008264/0.01021, allocations: 0.9333 MB / 437.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.01024, allocations: 12.03 kB / 437.6 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.01031, allocations: 48.88 kB / 437.6 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.01081, allocations: 493.9 kB / 438.1 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.01084, allocations: 12.38 kB / 438.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.01086, allocations: 12.38 kB / 438.1 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.01104, allocations: 169.9 kB / 438.3 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01105, allocations: 3.938 kB / 438.3 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.01107, allocations: 15.94 kB / 438.3 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.01107, allocations: 4 kB / 438.3 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.01114, allocations: 54.05 kB / 438.4 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.01173, allocations: 0.6618 MB / 439 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01197, allocations: 426.3 kB / 439.4 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.01203, allocations: 56.28 kB / 439.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.01204, allocations: 4 kB / 439.5 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.0122, allocations: 182.3 kB / 439.7 MB, free: 7.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.0122, allocations: 7.938 kB / 439.7 MB, free: 7.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002611/0.01246, allocations: 212.7 kB / 439.9 MB, free: 7.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.01252, allocations: 158.2 kB / 440 MB, free: 7.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.013, allocations: 0.7161 MB / 440.8 MB, free: 6.453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.01303, allocations: 29.7 kB / 440.8 MB, free: 6.418 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01313, allocations: 190.8 kB / 441 MB, free: 6.223 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.01318, allocations: 87.39 kB / 441.1 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.01328, allocations: 102.1 kB / 441.2 MB, free: 6.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.01336, allocations: 333.9 kB / 441.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.01343, allocations: 51.8 kB / 441.5 MB, free: 5.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.01354, allocations: 143.2 kB / 441.7 MB, free: 5.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.01373, allocations: 239.1 kB / 441.9 MB, free: 5.195 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.01373, allocations: 7.875 kB / 441.9 MB, free: 5.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0002759/0.01401, allocations: 295.5 kB / 442.2 MB, free: 4.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01402, allocations: 4 kB / 442.2 MB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01402, allocations: 4 kB / 442.2 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01404, allocations: 4 kB / 442.2 MB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.01422, allocations: 95.88 kB / 442.3 MB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01422, allocations: 7.938 kB / 442.3 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01434, allocations: 40.05 kB / 442.4 MB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.01436, allocations: 16 kB / 442.4 MB, free: 4.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001243/0.01449, allocations: 156.4 kB / 442.5 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.01454, allocations: 51.94 kB / 442.6 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.01475, allocations: 212.2 kB / 442.8 MB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01476, allocations: 4 kB / 442.8 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01476, allocations: 0 / 442.8 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.01477, allocations: 7.984 kB / 442.8 MB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.01498, allocations: 249.5 kB / 443 MB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01498, allocations: 4 kB / 443 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.01503, allocations: 27.98 kB / 443.1 MB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01503, allocations: 3.938 kB / 443.1 MB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01504, allocations: 11.98 kB / 443.1 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01505, allocations: 7.938 kB / 443.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01505, allocations: 0 / 443.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.01523, allocations: 233.4 kB / 443.3 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.0153, allocations: 79.36 kB / 443.4 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.01535, allocations: 15.98 kB / 443.4 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.01543, allocations: 20.3 kB / 443.4 MB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.01547, allocations: 31.88 kB / 443.5 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01548, allocations: 12 kB / 443.5 MB, free: 3.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002577/0.01574, allocations: 351.3 kB / 443.8 MB, free: 3.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01574, allocations: 0 / 443.8 MB, free: 3.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.01599, allocations: 111.9 kB / 443.9 MB, free: 3.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001274/0.01726, allocations: 0.59 MB / 444.5 MB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.01748, allocations: 181.6 kB / 444.7 MB, free: 2.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01749, allocations: 8 kB / 444.7 MB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.01756, allocations: 85.38 kB / 444.8 MB, free: 2.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.01798, allocations: 238.7 kB / 445 MB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000874/0.01886, allocations: 0.9592 MB / 446 MB, free: 1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01896, allocations: 165.5 kB / 446.1 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.01911, allocations: 105.2 kB / 446.2 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.01936, allocations: 193.2 kB / 446.4 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01936, allocations: 0 / 446.4 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of Templates: time 0.17/0.1893, allocations: 9.36 MB / 455.8 MB, free: 26.31 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.761113195680082]