Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.404/2.404, allocations: 248.5 MB / 261.1 MB, free: 6.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 188.8 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.2 MB / 0.571 GB, free: 11.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 105.9 kB / 0.6754 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.149e-05, allocations: 4 kB / 0.7869 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.2 MB / 0.8907 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8809/1.105, allocations: 134.9 MB / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.105, allocations: 82.62 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.104/1.209, allocations: 22.71 MB / 1.045 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.693e-06/1.209, allocations: 0 / 1.045 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001008/1.209, allocations: 12 kB / 1.045 GB, free: 13.02 MB / 0.6667 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.001767/1.211, allocations: 0.7574 MB / 1.045 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/1.211, allocations: 15.95 kB / 1.045 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/1.211, allocations: 38.31 kB / 1.046 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/1.212, allocations: 79 kB / 1.046 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/1.214, allocations: 0.6432 MB / 1.046 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/1.214, allocations: 7.75 kB / 1.046 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/1.214, allocations: 15.62 kB / 1.046 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/1.215, allocations: 202.5 kB / 1.046 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.215, allocations: 7.938 kB / 1.046 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/1.215, allocations: 0 / 1.046 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.215, allocations: 4 kB / 1.046 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/1.215, allocations: 104.1 kB / 1.047 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/1.217, allocations: 1.083 MB / 1.048 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/1.218, allocations: 267.1 kB / 1.048 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/1.218, allocations: 104.5 kB / 1.048 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/1.218, allocations: 4 kB / 1.048 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/1.219, allocations: 223.5 kB / 1.048 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 3.577e-06/1.219, allocations: 4 kB / 1.048 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001183/1.22, allocations: 333.1 kB / 1.048 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.22, allocations: 162.1 kB / 1.049 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/1.223, allocations: 0.9187 MB / 1.05 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.223, allocations: 32.39 kB / 1.05 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/1.223, allocations: 281.5 kB / 1.05 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/1.223, allocations: 81.27 kB / 1.05 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/1.223, allocations: 14.44 kB / 1.05 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002345/1.223, allocations: 386.2 kB / 1.05 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/1.224, allocations: 242 kB / 1.051 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00072/1.225, allocations: 341.3 kB / 1.051 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/1.226, allocations: 270.3 kB / 1.051 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/1.226, allocations: 0 / 1.051 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002036/1.228, allocations: 0.728 MB / 1.052 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/1.228, allocations: 10.61 kB / 1.052 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.228, allocations: 7.984 kB / 1.052 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/1.228, allocations: 4 kB / 1.052 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/1.229, allocations: 115.3 kB / 1.052 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/1.229, allocations: 8 kB / 1.052 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/1.229, allocations: 49.58 kB / 1.052 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.23, allocations: 35.61 kB / 1.052 GB, free: 6.559 MB / 0.6667 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 () * 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.0002344/1.23, allocations: 147.3 kB / 1.052 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/1.23, allocations: 71.16 kB / 1.052 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/1.231, allocations: 388.4 kB / 1.053 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.231, allocations: 8 kB / 1.053 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.231, allocations: 7.875 kB / 1.053 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.231, allocations: 7.984 kB / 1.053 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/1.232, allocations: 479.5 kB / 1.053 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.232, allocations: 0 / 1.053 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/1.233, allocations: 31.05 kB / 1.053 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/1.233, allocations: 0 / 1.053 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/1.233, allocations: 10.67 kB / 1.053 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/1.233, allocations: 11.89 kB / 1.053 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.233, allocations: 0 / 1.053 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.234, allocations: 450.1 kB / 1.054 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/1.234, allocations: 169.8 kB / 1.054 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/1.234, allocations: 15.12 kB / 1.054 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/1.235, allocations: 15.8 kB / 1.054 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.235, allocations: 27.66 kB / 1.054 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/1.235, allocations: 14.55 kB / 1.054 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00133/1.236, allocations: 0.5867 MB / 1.054 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.002e-06/1.236, allocations: 0 / 1.054 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000951/1.237, allocations: 136.8 kB / 1.055 GB, free: 4.344 MB / 0.6667 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) * 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.002705/1.24, allocations: 1.61 MB / 1.056 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.241, allocations: 399.5 kB / 1.056 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/1.241, allocations: 0 / 1.056 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/1.242, allocations: 118.6 kB / 1.057 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.243, allocations: 191.4 kB / 1.057 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/1.247, allocations: 1.044 MB / 1.058 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/1.247, allocations: 0.944 MB / 1.059 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006124/1.248, allocations: 116.8 kB / 1.059 GB, free: 392 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/1.249, allocations: 220.7 kB / 1.059 GB, free: 320 kB / 0.6667 GB Notification: Performance of SimCode: time 1.262e-06/1.249, allocations: 0 / 1.059 GB, free: 320 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05123/1.3, allocations: 13.42 MB / 1.072 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003775/1.3, allocations: 203.5 kB / 1.072 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/4.394, allocations: 0 / 1.072 GB, free: 2.863 MB / 0.6823 GB