Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 288.4 MB / 304.3 MB, free: 8.043 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 176.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 0.6317 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007262/0.0007262, allocations: 101.4 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005134, allocations: 13.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6201/0.8654, allocations: 141.5 MB / 1.119 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.8657, allocations: 79.69 kB / 1.119 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04988/0.9156, allocations: 23.25 MB / 1.142 GB, free: 25.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9156, allocations: 3.938 kB / 1.142 GB, free: 25.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.101e-05/0.9157, allocations: 15.69 kB / 1.142 GB, free: 25.85 MB / 0.698 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.00125/0.9169, allocations: 0.9528 MB / 1.143 GB, free: 25.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.9169, allocations: 7.688 kB / 1.143 GB, free: 25.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.9171, allocations: 74.75 kB / 1.143 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.9181, allocations: 0.7226 MB / 1.143 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.9182, allocations: 12.34 kB / 1.144 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.9182, allocations: 15.08 kB / 1.144 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.9185, allocations: 211.8 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9186, allocations: 3.938 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.9186, allocations: 7.312 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.9186, allocations: 11.84 kB / 1.144 GB, free: 24.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.9188, allocations: 109.2 kB / 1.144 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.92, allocations: 1.119 MB / 1.145 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.9205, allocations: 294.1 kB / 1.145 GB, free: 23.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.9207, allocations: 114.4 kB / 1.145 GB, free: 23.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.9207, allocations: 3.938 kB / 1.145 GB, free: 23.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.9211, allocations: 231.9 kB / 1.146 GB, free: 23.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.9211, allocations: 0 / 1.146 GB, free: 23.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0008126/0.9219, allocations: 445.5 kB / 1.146 GB, free: 23.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.922, allocations: 157.8 kB / 1.146 GB, free: 23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.923, allocations: 1.052 MB / 1.147 GB, free: 22.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.923, allocations: 37.2 kB / 1.147 GB, free: 22.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.9232, allocations: 286.2 kB / 1.147 GB, free: 22.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.9233, allocations: 78.09 kB / 1.148 GB, free: 22.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.9233, allocations: 13.81 kB / 1.148 GB, free: 22.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9234, allocations: 335.1 kB / 1.148 GB, free: 22.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.9238, allocations: 259.9 kB / 1.148 GB, free: 22.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.9242, allocations: 346.9 kB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.9248, allocations: 466.6 kB / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9248, allocations: 0 / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009991/0.9258, allocations: 0.7626 MB / 1.15 GB, free: 21.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9258, allocations: 3.844 kB / 1.15 GB, free: 21.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9258, allocations: 11.75 kB / 1.15 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.9259, allocations: 3.75 kB / 1.15 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.9263, allocations: 113.5 kB / 1.15 GB, free: 21.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.9263, allocations: 11.72 kB / 1.15 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.9265, allocations: 42.36 kB / 1.15 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.9266, allocations: 38.61 kB / 1.15 GB, free: 21.67 MB / 0.698 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.9269, allocations: 287.1 kB / 1.15 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.927, allocations: 73.66 kB / 1.15 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.9276, allocations: 401.1 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9276, allocations: 3.969 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9276, allocations: 0 / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9276, allocations: 7.953 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.928, allocations: 492 kB / 1.151 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.928, allocations: 0 / 1.151 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.9281, allocations: 31.11 kB / 1.151 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.9281, allocations: 0 / 1.151 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.9281, allocations: 18.7 kB / 1.151 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9281, allocations: 0 / 1.151 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9281, allocations: 3.875 kB / 1.151 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.9287, allocations: 436.8 kB / 1.152 GB, free: 20.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.9288, allocations: 169.7 kB / 1.152 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.9289, allocations: 11.72 kB / 1.152 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.9291, allocations: 22.66 kB / 1.152 GB, free: 20.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.9291, allocations: 30.66 kB / 1.152 GB, free: 20.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.9292, allocations: 7.719 kB / 1.152 GB, free: 20.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005797/0.9298, allocations: 0.6191 MB / 1.152 GB, free: 20.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9298, allocations: 4 kB / 1.152 GB, free: 20.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004207/0.9302, allocations: 146.6 kB / 1.153 GB, free: 20.48 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009521/0.9311, allocations: 0.5005 MB / 1.153 GB, free: 20.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006235/0.9318, allocations: 429.7 kB / 1.153 GB, free: 20.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9318, allocations: 0 / 1.153 GB, free: 20.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.932, allocations: 121.5 kB / 1.154 GB, free: 20.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.9329, allocations: 199.7 kB / 1.154 GB, free: 20.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.9342, allocations: 1.257 MB / 1.155 GB, free: 19.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.9346, allocations: 0.9378 MB / 1.156 GB, free: 18.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.9349, allocations: 114.4 kB / 1.156 GB, free: 18.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.935, allocations: 56.3 kB / 1.156 GB, free: 18.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.935, allocations: 3.75 kB / 1.156 GB, free: 18.55 MB / 0.698 GB Notification: Performance of Templates: time 0.01236/0.9474, allocations: 7.751 MB / 1.164 GB, free: 11.48 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)