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.001378/0.001378, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001068/0.001068, allocations: 169 kB / 24.25 MB, free: 304 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 0.9336/0.9336, allocations: 177.2 MB / 204.6 MB, free: 5.617 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.7704/0.7704, allocations: 115 MB / 376 MB, free: 7.637 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 2.334e-06/2.334e-06, allocations: 0 / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.13e-05, allocations: 2.312 kB / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003929/0.00395, allocations: 2.486 MB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.007004, allocations: 1.678 MB / 485.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.007244, allocations: 9.812 kB / 485.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006636/0.007908, allocations: 328.1 kB / 486.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007334/0.008641, allocations: 431.7 kB / 486.5 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.00916, allocations: 283.4 kB / 486.8 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.009935, allocations: 0.7955 MB / 487.5 MB, free: 8.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.01011, allocations: 48.69 kB / 487.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.01063, allocations: 421.4 kB / 488 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.01101, allocations: 323.1 kB / 488.3 MB, free: 8.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.01108, allocations: 34.38 kB / 488.4 MB, free: 8.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.01123, allocations: 88.3 kB / 488.4 MB, free: 8.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.01139, allocations: 213.6 kB / 488.7 MB, free: 7.922 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.01153, allocations: 146.7 kB / 488.8 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.01199, allocations: 0.4953 MB / 489.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.01199, allocations: 0 / 489.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.012, allocations: 0 / 489.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.012, allocations: 0 / 489.3 MB, free: 7.617 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.001015/0.01302, allocations: 1.091 MB / 490.4 MB, free: 6.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.01306, allocations: 9.688 kB / 490.4 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.01319, allocations: 96.59 kB / 490.5 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.01379, allocations: 0.5359 MB / 491 MB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.01382, allocations: 14.22 kB / 491 MB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.01384, allocations: 13.03 kB / 491 MB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.01409, allocations: 198.6 kB / 491.2 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.0141, allocations: 1.344 kB / 491.2 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.01411, allocations: 5.625 kB / 491.2 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01412, allocations: 3.25 kB / 491.3 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.01423, allocations: 55.84 kB / 491.3 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009763/0.0152, allocations: 1.163 MB / 492.5 MB, free: 21.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.01549, allocations: 239.8 kB / 492.7 MB, free: 21.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.01559, allocations: 84.98 kB / 492.8 MB, free: 21.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.01561, allocations: 10.08 kB / 492.8 MB, free: 21.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.01584, allocations: 203.5 kB / 493 MB, free: 20.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.01585, allocations: 0 / 493 MB, free: 20.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005396/0.01639, allocations: 362.6 kB / 493.3 MB, free: 20.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.01643, allocations: 159.3 kB / 493.5 MB, free: 20.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.01718, allocations: 0.8202 MB / 494.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.01721, allocations: 38.8 kB / 494.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.0174, allocations: 376.8 kB / 494.7 MB, free: 19.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.01745, allocations: 79.38 kB / 494.8 MB, free: 19.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.01756, allocations: 112.8 kB / 494.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.0177, allocations: 0.497 MB / 495.4 MB, free: 19.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.01782, allocations: 68.23 kB / 495.5 MB, free: 19.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.01801, allocations: 205.3 kB / 495.7 MB, free: 19.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01827, allocations: 271.1 kB / 495.9 MB, free: 18.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.01827, allocations: 1.562 kB / 495.9 MB, free: 18.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005104/0.01878, allocations: 418.8 kB / 496.4 MB, free: 18.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.0188, allocations: 7.094 kB / 496.4 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01881, allocations: 5.094 kB / 496.4 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01883, allocations: 4.438 kB / 496.4 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.01906, allocations: 96.34 kB / 496.5 MB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.01907, allocations: 8.812 kB / 496.5 MB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.01921, allocations: 37.78 kB / 496.5 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.01924, allocations: 23.25 kB / 496.5 MB, free: 18.68 MB / 426.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,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.0001537/0.01939, allocations: 206.9 kB / 496.7 MB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.01948, allocations: 93.03 kB / 496.8 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.01987, allocations: 327.8 kB / 497.1 MB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01988, allocations: 4.844 kB / 497.2 MB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01988, allocations: 1.094 kB / 497.2 MB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.01989, allocations: 4.203 kB / 497.2 MB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.0202, allocations: 417.2 kB / 497.6 MB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0202, allocations: 4.891 kB / 497.6 MB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.02026, allocations: 26.38 kB / 497.6 MB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.02027, allocations: 6.594 kB / 497.6 MB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.02028, allocations: 7.875 kB / 497.6 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.02028, allocations: 2.969 kB / 497.6 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02029, allocations: 9.75 kB / 497.6 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.02065, allocations: 393.9 kB / 498 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.02072, allocations: 88.02 kB / 498.1 MB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.02078, allocations: 13.73 kB / 498.1 MB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.02086, allocations: 14.94 kB / 498.1 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.02092, allocations: 30.41 kB / 498.2 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.02093, allocations: 17.38 kB / 498.2 MB, free: 17.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004336/0.02137, allocations: 0.4923 MB / 498.7 MB, free: 17.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02137, allocations: 1.188 kB / 498.7 MB, free: 17.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.02169, allocations: 116.3 kB / 498.8 MB, free: 17.51 MB / 426.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.001149/0.02284, allocations: 468.1 kB / 499.2 MB, free: 17.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.02321, allocations: 229.7 kB / 499.5 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02321, allocations: 0 / 499.5 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.02335, allocations: 97.36 kB / 499.6 MB, free: 17.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.02393, allocations: 235.4 kB / 499.8 MB, free: 17.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.02495, allocations: 0.9753 MB / 0.489 GB, free: 16.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.02506, allocations: 173.3 kB / 0.4892 GB, free: 16.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.02525, allocations: 110.9 kB / 0.4893 GB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.02539, allocations: 62.98 kB / 0.4894 GB, free: 16.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0254, allocations: 0 / 0.4894 GB, free: 16.47 MB / 426.7 MB Notification: Performance of Templates: time 0.0124/0.03779, allocations: 8.746 MB / 0.4979 GB, free: 11.93 MB / 426.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.983096486888826]