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.265/2.265, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 174.6 kB / 325.5 MB, free: 2.883 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.43/2.43, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001115/0.001115, allocations: 98.56 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006421, allocations: 19.48 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2083, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.4391, allocations: 135 MB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.4394, allocations: 83.95 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.103/0.5424, allocations: 22.76 MB / 1.053 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5425, allocations: 3.938 kB / 1.053 GB, free: 3.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.875e-05/0.5426, allocations: 19.94 kB / 1.053 GB, free: 3.371 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.002407/0.545, allocations: 0.9199 MB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.5451, allocations: 8.031 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.5452, allocations: 42.55 kB / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.5456, allocations: 75.11 kB / 1.054 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.5478, allocations: 0.6398 MB / 1.055 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.5479, allocations: 12 kB / 1.055 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.548, allocations: 19.92 kB / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.5486, allocations: 206.8 kB / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5486, allocations: 0 / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.5487, allocations: 8 kB / 1.055 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.5487, allocations: 4 kB / 1.055 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.5492, allocations: 107.9 kB / 1.055 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.5514, allocations: 1.087 MB / 1.056 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6067/1.158, allocations: 287.7 kB / 1.056 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/1.158, allocations: 9.734 kB / 1.056 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006468/1.159, allocations: 231.4 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.327e-06/1.159, allocations: 2.812 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.00173/1.161, allocations: 433.6 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/1.161, allocations: 164.5 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.163, allocations: 0.9205 MB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.442e-05/1.163, allocations: 37.69 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/1.163, allocations: 279.3 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/1.163, allocations: 75.61 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/1.163, allocations: 15.94 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.164, allocations: 390.3 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/1.164, allocations: 250.3 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/1.165, allocations: 350.1 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/1.166, allocations: 282.1 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.166, allocations: 0 / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002249/1.168, allocations: 0.7552 MB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.168, allocations: 11.08 kB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.168, allocations: 2.125 kB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.168, allocations: 8.469 kB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/1.169, allocations: 117.6 kB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.169, allocations: 8.281 kB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/1.17, allocations: 41.41 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.17, allocations: 34.67 kB / 1.061 GB, free: 145.5 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.0005647/1.171, allocations: 278.5 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/1.171, allocations: 75.56 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/1.172, allocations: 396.9 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.172, allocations: 2.938 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.172, allocations: 8.812 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.172, allocations: 4.234 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/1.173, allocations: 479.1 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.173, allocations: 3.141 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/1.173, allocations: 33.47 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/1.173, allocations: 2.938 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/1.173, allocations: 10.77 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.173, allocations: 4.609 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.173, allocations: 2.781 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.175, allocations: 473.4 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/1.175, allocations: 167.4 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.175, allocations: 14.73 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/1.176, allocations: 16.77 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/1.176, allocations: 27.7 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/1.176, allocations: 15.28 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001234/1.177, allocations: 0.5934 MB / 1.063 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.177, allocations: 0 / 1.063 GB, free: 144.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009874/1.178, allocations: 135.5 kB / 1.063 GB, free: 144.7 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.002816/1.181, allocations: 1.684 MB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.182, allocations: 423.4 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.182, allocations: 0 / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004838/1.183, allocations: 130.5 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.184, allocations: 184.9 kB / 1.066 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/1.188, allocations: 3.004 MB / 1.068 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/1.189, allocations: 0.94 MB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007038/1.19, allocations: 113.3 kB / 1.069 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/1.19, allocations: 224.2 kB / 1.07 GB, free: 140.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/1.19, allocations: 0 / 1.07 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08679/1.277, allocations: 13.31 MB / 1.083 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.277, allocations: 231.4 kB / 1.083 GB, free: 139.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.405, allocations: 0 / 1.083 GB, free: 139.6 MB / 0.698 GB