Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001393/0.001393, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001742/0.001742, allocations: 204 kB / 20.09 MB, free: 2.977 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 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.023/1.023, allocations: 150 MB / 459.5 MB, free: 5.359 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 71.08 kB / 0.6366 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2092, allocations: 89.14 MB / 0.7236 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003526/0.2127, allocations: 0.8438 MB / 0.7245 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.2164, allocations: 1.488 MB / 0.7259 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2165, allocations: 7.938 kB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.2173, allocations: 191.5 kB / 0.7261 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.2176, allocations: 119.6 kB / 0.7262 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.2195, allocations: 366.4 kB / 0.7266 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.2212, allocations: 0.8737 MB / 0.7274 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.2215, allocations: 76.27 kB / 0.7275 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.2222, allocations: 347.4 kB / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.223, allocations: 283.3 kB / 0.7281 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.2232, allocations: 48 kB / 0.7281 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.2237, allocations: 111.9 kB / 0.7282 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008824/0.2246, allocations: 351.3 kB / 0.7286 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.2252, allocations: 282.8 kB / 0.7289 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.2269, allocations: 0.9112 MB / 0.7297 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2269, allocations: 4 kB / 0.7297 GB, free: 13.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2269, allocations: 0 / 0.7297 GB, free: 13.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.227, allocations: 0 / 0.7297 GB, free: 13.31 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.003086/0.23, allocations: 0.905 MB / 0.7306 GB, free: 12.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.2301, allocations: 12.03 kB / 0.7306 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.2305, allocations: 52.66 kB / 0.7307 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.232, allocations: 0.5452 MB / 0.7312 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.2321, allocations: 24.59 kB / 0.7312 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.2323, allocations: 36.38 kB / 0.7313 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008403/0.2331, allocations: 306.2 kB / 0.7316 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2331, allocations: 192 / 0.7316 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.2332, allocations: 11.94 kB / 0.7316 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2332, allocations: 0 / 0.7316 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.2339, allocations: 227.7 kB / 0.7318 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.2375, allocations: 1.18 MB / 0.733 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.2389, allocations: 471.8 kB / 0.7334 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.2393, allocations: 174.6 kB / 0.7336 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2394, allocations: 0 / 0.7336 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008943/0.2403, allocations: 338.3 kB / 0.7339 GB, free: 8.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 3.326e-06/0.2403, allocations: 0 / 0.7339 GB, free: 8.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.002129/0.2424, allocations: 0.626 MB / 0.7345 GB, free: 8.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.2425, allocations: 126.7 kB / 0.7346 GB, free: 8.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.244, allocations: 0.5993 MB / 0.7352 GB, free: 7.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.2442, allocations: 49.69 kB / 0.7353 GB, free: 7.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/0.2447, allocations: 213.6 kB / 0.7355 GB, free: 7.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2448, allocations: 55.59 kB / 0.7355 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005576/0.2454, allocations: 185.4 kB / 0.7357 GB, free: 6.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000284/0.2456, allocations: 362.8 kB / 0.736 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.246, allocations: 123.9 kB / 0.7362 GB, free: 6.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.2477, allocations: 0.7188 MB / 0.7369 GB, free: 5.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.2484, allocations: 300.6 kB / 0.7371 GB, free: 5.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.2484, allocations: 4 kB / 0.7371 GB, free: 5.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001369/0.2498, allocations: 421.1 kB / 0.7376 GB, free: 4.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2498, allocations: 8 kB / 0.7376 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.2498, allocations: 4 kB / 0.7376 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/0.2498, allocations: 8.375 kB / 0.7376 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.2502, allocations: 40.61 kB / 0.7376 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.2502, allocations: 7.938 kB / 0.7376 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.2525, allocations: 121.4 kB / 0.7377 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.2526, allocations: 12 kB / 0.7377 GB, free: 4.613 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0007257/0.2533, allocations: 261.6 kB / 0.738 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.2535, allocations: 43.72 kB / 0.738 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.2537, allocations: 59.3 kB / 0.7381 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.2537, allocations: 3.938 kB / 0.7381 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.2537, allocations: 4 kB / 0.7381 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.2537, allocations: 0 / 0.7381 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2549, allocations: 409.3 kB / 0.7385 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2549, allocations: 3.938 kB / 0.7385 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.2549, allocations: 7.938 kB / 0.7385 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.2549, allocations: 4 kB / 0.7385 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.255, allocations: 11.98 kB / 0.7385 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.255, allocations: 7.938 kB / 0.7385 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.255, allocations: 0 / 0.7385 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2563, allocations: 0.5178 MB / 0.739 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.2566, allocations: 128.8 kB / 0.7392 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.2566, allocations: 4 kB / 0.7392 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.2569, allocations: 19.92 kB / 0.7392 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.2571, allocations: 31.95 kB / 0.7392 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.2571, allocations: 12 kB / 0.7392 GB, free: 2.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001001/0.2581, allocations: 435.1 kB / 0.7396 GB, free: 2.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2581, allocations: 0 / 0.7396 GB, free: 2.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009553/0.2591, allocations: 115.8 kB / 0.7397 GB, free: 2.461 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0005025/0.2596, allocations: 145.3 kB / 0.7399 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.2607, allocations: 352.4 kB / 0.7402 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2607, allocations: 0 / 0.7402 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.261, allocations: 171.9 kB / 0.7404 GB, free: 1.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.2616, allocations: 33.95 kB / 0.7404 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2637, allocations: 0.8383 MB / 0.7412 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.2644, allocations: 0.8391 MB / 0.7421 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004176/0.2648, allocations: 98.92 kB / 0.7421 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.265, allocations: 35.38 kB / 0.7422 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.265, allocations: 0 / 0.7422 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.01721/0.2822, allocations: 8.001 MB / 0.75 GB, free: 7.945 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.441527144052088] Failed to read output from testmodel.py, exit status != 0: 0.29044193704612553 0.304545979 0.074520394 Calling exit ...