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.348/2.348, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001512/0.001511, allocations: 174.5 kB / 315.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 0.5662 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 89.27 kB / 0.6704 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.492e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2273, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.132, allocations: 135.1 MB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.132, allocations: 81.62 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1043/1.237, allocations: 22.5 MB / 1.038 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.32e-06/1.237, allocations: 0 / 1.038 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.781e-05/1.237, allocations: 11.94 kB / 1.038 GB, free: 1.164 MB / 0.6511 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.001798/1.239, allocations: 0.7518 MB / 1.039 GB, free: 404 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/1.239, allocations: 16.03 kB / 1.039 GB, free: 388 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/1.239, allocations: 75.02 kB / 1.039 GB, free: 312 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/1.241, allocations: 0.6396 MB / 1.04 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/1.241, allocations: 4 kB / 1.04 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/1.241, allocations: 8 kB / 1.04 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003261/1.242, allocations: 101.9 kB / 1.04 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/1.242, allocations: 183.4 kB / 1.04 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/1.242, allocations: 4 kB / 1.04 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/1.242, allocations: 0 / 1.04 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.242, allocations: 4 kB / 1.04 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/1.244, allocations: 1.049 MB / 1.041 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/1.245, allocations: 253.9 kB / 1.041 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/1.245, allocations: 99.44 kB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/1.245, allocations: 4 kB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/1.246, allocations: 216.8 kB / 1.041 GB, free: 14 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 3.987e-06/1.246, allocations: 0 / 1.041 GB, free: 14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001166/1.247, allocations: 330 kB / 1.042 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.247, allocations: 154.2 kB / 1.042 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/1.249, allocations: 0.8765 MB / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/1.249, allocations: 33.14 kB / 1.043 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/1.25, allocations: 282.6 kB / 1.043 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.25, allocations: 73.14 kB / 1.043 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/1.25, allocations: 0 / 1.043 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002628/1.25, allocations: 390.6 kB / 1.044 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/1.251, allocations: 231.4 kB / 1.044 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/1.251, allocations: 327.8 kB / 1.044 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/1.252, allocations: 253.9 kB / 1.044 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.252, allocations: 0 / 1.044 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001877/1.254, allocations: 0.6915 MB / 1.045 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/1.254, allocations: 4 kB / 1.045 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.254, allocations: 7.938 kB / 1.045 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/1.254, allocations: 4 kB / 1.045 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/1.255, allocations: 122.7 kB / 1.045 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.255, allocations: 8 kB / 1.045 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/1.256, allocations: 31.67 kB / 1.045 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.256, allocations: 31.67 kB / 1.045 GB, free: 10.96 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.0002255/1.256, allocations: 137.5 kB / 1.045 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001115/1.257, allocations: 331.4 kB / 1.046 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/1.258, allocations: 71.06 kB / 1.046 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/1.26, allocations: 365 kB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.26, allocations: 4 kB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.26, allocations: 0 / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.26, allocations: 4 kB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/1.261, allocations: 449.7 kB / 1.046 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.261, allocations: 0 / 1.046 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.261, allocations: 34.86 kB / 1.047 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.261, allocations: 0 / 1.047 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/1.261, allocations: 12 kB / 1.047 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.924e-06/1.261, allocations: 3.984 kB / 1.047 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.261, allocations: 7.953 kB / 1.047 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.262, allocations: 434 kB / 1.047 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/1.263, allocations: 166 kB / 1.047 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.263, allocations: 4 kB / 1.047 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/1.263, allocations: 23.16 kB / 1.047 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.263, allocations: 27.34 kB / 1.047 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/1.263, allocations: 11.44 kB / 1.047 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001155/1.265, allocations: 0.5464 MB / 1.048 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.01e-07/1.265, allocations: 0 / 1.048 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009767/1.266, allocations: 123.8 kB / 1.048 GB, free: 8.59 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.002635/1.268, allocations: 1.567 MB / 1.049 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.269, allocations: 379.9 kB / 1.05 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.269, allocations: 0 / 1.05 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/1.27, allocations: 103.9 kB / 1.05 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.271, allocations: 182.1 kB / 1.05 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/1.274, allocations: 1.021 MB / 1.051 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/1.275, allocations: 0.9375 MB / 1.052 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006203/1.276, allocations: 112.8 kB / 1.052 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/1.276, allocations: 220.4 kB / 1.052 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of SimCode: time 1.333e-06/1.276, allocations: 0 / 1.052 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0735/1.35, allocations: 12.49 MB / 1.064 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/1.35, allocations: 192.1 kB / 1.065 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/4.323, allocations: 0 / 1.065 GB, free: 7.973 MB / 0.6823 GB