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.001849/0.001849, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00246/0.00246, allocations: 216.3 kB / 22.99 MB, free: 4.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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.026/1.026, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.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.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: 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.002422/0.002422, allocations: 67 kB / 0.6416 GB, free: 9.562 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2206, allocations: 89.18 MB / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004427/0.2251, allocations: 2.364 MB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.2287, allocations: 1.641 MB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.229, allocations: 11.88 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.2297, allocations: 330.8 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.2306, allocations: 422.4 kB / 0.7333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.2313, allocations: 279.5 kB / 0.7336 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009911/0.2323, allocations: 0.7829 MB / 0.7343 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.2325, allocations: 45.94 kB / 0.7344 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.2329, allocations: 334.6 kB / 0.7347 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.2334, allocations: 354.5 kB / 0.735 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.2334, allocations: 36 kB / 0.7351 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.2337, allocations: 87.97 kB / 0.7352 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.2339, allocations: 211.2 kB / 0.7354 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.2341, allocations: 206.5 kB / 0.7356 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.235, allocations: 0.7973 MB / 0.7363 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.235, allocations: 0 / 0.7363 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.235, allocations: 0 / 0.7363 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.235, allocations: 0 / 0.7363 GB, free: 8.562 MB / 0.5606 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.00178/0.2368, allocations: 0.9855 MB / 0.7373 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2368, allocations: 12.03 kB / 0.7373 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.237, allocations: 92.36 kB / 0.7374 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.238, allocations: 0.5807 MB / 0.738 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.2381, allocations: 12.38 kB / 0.738 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.2381, allocations: 15.94 kB / 0.738 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.2385, allocations: 214.6 kB / 0.7382 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2386, allocations: 0 / 0.7382 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2386, allocations: 0 / 0.7382 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2386, allocations: 4 kB / 0.7382 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.2389, allocations: 115.9 kB / 0.7383 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2404, allocations: 0.9695 MB / 0.7393 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.241, allocations: 280.9 kB / 0.7395 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.2412, allocations: 112.2 kB / 0.7396 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2413, allocations: 7.938 kB / 0.7396 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.2417, allocations: 226.8 kB / 0.7399 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.2417, allocations: 0 / 0.7399 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.00105/0.2428, allocations: 465.8 kB / 0.7403 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.2429, allocations: 162.2 kB / 0.7405 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.2443, allocations: 1.079 MB / 0.7415 GB, free: 3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.2443, allocations: 33.7 kB / 0.7415 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.2446, allocations: 312.9 kB / 0.7418 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.2447, allocations: 75.52 kB / 0.7419 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.2449, allocations: 106.1 kB / 0.742 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2451, allocations: 330 kB / 0.7423 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.2454, allocations: 176.9 kB / 0.7425 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.2458, allocations: 271.1 kB / 0.7428 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.2464, allocations: 377.1 kB / 0.7431 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2464, allocations: 7.938 kB / 0.7431 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001035/0.2475, allocations: 0.5824 MB / 0.7437 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2475, allocations: 8 kB / 0.7437 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2475, allocations: 4 kB / 0.7437 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.2475, allocations: 4 kB / 0.7437 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.2479, allocations: 100.5 kB / 0.7438 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.2479, allocations: 11.94 kB / 0.7438 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.2482, allocations: 43.7 kB / 0.7439 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.2483, allocations: 23.98 kB / 0.7439 GB, free: 488 kB / 0.5606 GB 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,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.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 (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.0003345/0.2486, allocations: 269.7 kB / 0.7441 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.2487, allocations: 87.44 kB / 0.7442 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000845/0.2496, allocations: 411.9 kB / 0.7446 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.2496, allocations: 8 kB / 0.7446 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2496, allocations: 4 kB / 0.7446 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2496, allocations: 7.922 kB / 0.7446 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.25, allocations: 380.9 kB / 0.745 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.25, allocations: 0 / 0.745 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.2501, allocations: 32.25 kB / 0.745 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2501, allocations: 0 / 0.745 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2502, allocations: 19.92 kB / 0.745 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2502, allocations: 4 kB / 0.745 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2502, allocations: 0 / 0.745 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.2509, allocations: 443.8 kB / 0.7455 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.2511, allocations: 91.41 kB / 0.7456 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.2512, allocations: 19.98 kB / 0.7456 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2514, allocations: 11.98 kB / 0.7456 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.2514, allocations: 31.83 kB / 0.7456 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.2515, allocations: 16 kB / 0.7456 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008691/0.2523, allocations: 0.6825 MB / 0.7463 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2523, allocations: 0 / 0.7463 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004369/0.2528, allocations: 111.9 kB / 0.7464 GB, free: 13.81 MB / 0.5762 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 (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.002027/0.2548, allocations: 0.5067 MB / 0.7469 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008039/0.2556, allocations: 344.4 kB / 0.7472 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2556, allocations: 0 / 0.7472 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.2559, allocations: 116.6 kB / 0.7473 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/0.2568, allocations: 229.6 kB / 0.7476 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2587, allocations: 1.181 MB / 0.7487 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.259, allocations: 337.8 kB / 0.749 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.2593, allocations: 129.1 kB / 0.7492 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.2595, allocations: 63.42 kB / 0.7492 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.2595, allocations: 3.938 kB / 0.7492 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.01793/0.2774, allocations: 9.27 MB / 0.7583 GB, free: 1.984 MB / 0.5762 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.703209586441517] Failed to read output from testmodel.py, exit status != 0: 0.28693743608891964 0.7100539880000001 0.47171841600000003 Calling exit ...