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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 114.4 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 189.7 kB / 22.85 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9828/0.9828, allocations: 149.5 MB / 456.3 MB, free: 1.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002033/0.002033, allocations: 75.14 kB / 0.6324 GB, free: 9.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1996, allocations: 87.87 MB / 0.7182 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004506/0.2041, allocations: 2.466 MB / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.2073, allocations: 1.609 MB / 0.7222 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.2076, allocations: 15.81 kB / 0.7222 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.2084, allocations: 322.8 kB / 0.7225 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.2091, allocations: 346.6 kB / 0.7229 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2103, allocations: 441.1 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009973/0.2113, allocations: 0.7245 MB / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2115, allocations: 53.92 kB / 0.7241 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.212, allocations: 366.6 kB / 0.7244 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.2124, allocations: 350.6 kB / 0.7247 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.2125, allocations: 32 kB / 0.7248 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.2128, allocations: 79.97 kB / 0.7248 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.213, allocations: 199.3 kB / 0.725 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.2133, allocations: 266.1 kB / 0.7253 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.2142, allocations: 0.7428 MB / 0.726 GB, free: 9.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2142, allocations: 3.938 kB / 0.726 GB, free: 9.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2142, allocations: 0 / 0.726 GB, free: 9.172 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2142, allocations: 0 / 0.726 GB, free: 9.172 MB / 0.545 GB 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.001806/0.216, allocations: 0.9621 MB / 0.727 GB, free: 8.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2161, allocations: 8.625 kB / 0.727 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.2162, allocations: 80.42 kB / 0.727 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.2172, allocations: 0.5652 MB / 0.7276 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2172, allocations: 8.375 kB / 0.7276 GB, free: 7.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.2173, allocations: 19.92 kB / 0.7276 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.2177, allocations: 201.1 kB / 0.7278 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2177, allocations: 7.938 kB / 0.7278 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2177, allocations: 0 / 0.7278 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2177, allocations: 4 kB / 0.7278 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.218, allocations: 95.88 kB / 0.7279 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2196, allocations: 1.023 MB / 0.7289 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.2203, allocations: 269 kB / 0.7292 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.2206, allocations: 104.2 kB / 0.7293 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.2206, allocations: 8 kB / 0.7293 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.2211, allocations: 231.4 kB / 0.7295 GB, free: 5.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.2211, allocations: 0 / 0.7295 GB, free: 5.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001158/0.2222, allocations: 428.9 kB / 0.7299 GB, free: 4.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.2224, allocations: 170.1 kB / 0.7301 GB, free: 4.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2238, allocations: 1.036 MB / 0.7311 GB, free: 3.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.2239, allocations: 33.7 kB / 0.7311 GB, free: 3.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.2242, allocations: 292.9 kB / 0.7314 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.2242, allocations: 79.47 kB / 0.7315 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.2244, allocations: 138.3 kB / 0.7316 GB, free: 3.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2246, allocations: 326 kB / 0.7319 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.225, allocations: 213.2 kB / 0.7321 GB, free: 2.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.2256, allocations: 311 kB / 0.7324 GB, free: 2.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.2263, allocations: 406.6 kB / 0.7328 GB, free: 1.867 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2263, allocations: 0 / 0.7328 GB, free: 1.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00145/0.2278, allocations: 0.6815 MB / 0.7335 GB, free: 1.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2278, allocations: 8 kB / 0.7335 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2278, allocations: 4.156 kB / 0.7335 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.2278, allocations: 8 kB / 0.7335 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.2283, allocations: 115.8 kB / 0.7336 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2283, allocations: 9.188 kB / 0.7336 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.2286, allocations: 43.77 kB / 0.7336 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.2287, allocations: 27.98 kB / 0.7337 GB, free: 0.9727 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003805/0.229, allocations: 273.7 kB / 0.7339 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.2292, allocations: 79.45 kB / 0.734 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.23, allocations: 375.3 kB / 0.7344 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.23, allocations: 4 kB / 0.7344 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.23, allocations: 7.938 kB / 0.7344 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.23, allocations: 3.938 kB / 0.7344 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.2306, allocations: 436.3 kB / 0.7348 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2306, allocations: 0 / 0.7348 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.2307, allocations: 16 kB / 0.7348 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2307, allocations: 4 kB / 0.7348 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.2307, allocations: 11.98 kB / 0.7348 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2307, allocations: 4 kB / 0.7348 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2307, allocations: 3.938 kB / 0.7348 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.2314, allocations: 404.1 kB / 0.7352 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.2316, allocations: 87.45 kB / 0.7353 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.2317, allocations: 8 kB / 0.7353 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2319, allocations: 23.97 kB / 0.7353 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.232, allocations: 23.91 kB / 0.7354 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.232, allocations: 19.92 kB / 0.7354 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007921/0.2328, allocations: 0.6005 MB / 0.736 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2328, allocations: 4 kB / 0.736 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004666/0.2332, allocations: 119.9 kB / 0.7361 GB, free: 14.41 MB / 0.5606 GB 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 (25): * Single equations (assignments): 15 * 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.001764/0.235, allocations: 485.2 kB / 0.7365 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009017/0.2359, allocations: 380.1 kB / 0.7369 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2359, allocations: 0 / 0.7369 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.2362, allocations: 91.91 kB / 0.737 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.2371, allocations: 228.1 kB / 0.7372 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2389, allocations: 1.091 MB / 0.7383 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.2395, allocations: 0.9324 MB / 0.7392 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.2398, allocations: 108.9 kB / 0.7393 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.24, allocations: 67.41 kB / 0.7394 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.24, allocations: 0 / 0.7394 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.01664/0.2566, allocations: 7.958 MB / 0.7471 GB, free: 3.309 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.519575507380068] Failed to read output from testmodel.py, exit status != 0: 0.2667712662369013 0.619850287 0.400159635 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1da4fb17b0>