Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",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.292/2.292, allocations: 251 MB / 265.9 MB, free: 11.71 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.001512/0.001512, allocations: 173.1 kB / 325.5 MB, free: 2.926 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.535/2.535, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001158/0.001158, allocations: 95.91 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006496/0.0006498, allocations: 12.62 kB / 0.795 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2221, allocations: 106.3 MB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.4697, allocations: 142.6 MB / 1.038 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4701, allocations: 75.95 kB / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05387/0.5239, allocations: 12.49 MB / 1.05 GB, free: 6.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.524, allocations: 0 / 1.05 GB, free: 6.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.682e-05/0.5241, allocations: 16 kB / 1.05 GB, free: 6.59 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003204/0.5273, allocations: 1.079 MB / 1.051 GB, free: 5.453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.5274, allocations: 8.031 kB / 1.051 GB, free: 5.445 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.5276, allocations: 106.5 kB / 1.052 GB, free: 5.332 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.5278, allocations: 95.27 kB / 1.052 GB, free: 5.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.5291, allocations: 499.9 kB / 1.052 GB, free: 4.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.5292, allocations: 53.3 kB / 1.052 GB, free: 4.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.5294, allocations: 76 kB / 1.052 GB, free: 4.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.5316, allocations: 0.7326 MB / 1.053 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.5317, allocations: 7.938 kB / 1.053 GB, free: 3.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.5318, allocations: 24 kB / 1.053 GB, free: 3.777 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.5318, allocations: 16 kB / 1.053 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.534, allocations: 0.5359 MB / 1.053 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/0.5396, allocations: 2.541 MB / 1.056 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6222/1.162, allocations: 0.6663 MB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-05/1.162, allocations: 9.609 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/1.164, allocations: 419.7 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 4.769e-06/1.164, allocations: 0 / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.003504/1.167, allocations: 0.903 MB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/1.167, allocations: 151.8 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/1.168, allocations: 459.8 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/1.168, allocations: 49.22 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/1.169, allocations: 334.9 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/1.169, allocations: 197.8 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/1.169, allocations: 15.03 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.169, allocations: 379.9 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.17, allocations: 269.5 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/1.171, allocations: 388.2 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.172, allocations: 318.9 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.172, allocations: 0 / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00271/1.175, allocations: 0.8653 MB / 1.061 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/1.175, allocations: 0.6567 MB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.175, allocations: 2.719 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.175, allocations: 5.219 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/1.176, allocations: 123.6 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.176, allocations: 7.844 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.178, allocations: 123.2 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/1.178, allocations: 31.47 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.178, allocations: 6.766 kB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002245/1.18, allocations: 0.762 MB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.18, allocations: 3.438 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.18, allocations: 4.406 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/1.181, allocations: 112.4 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.181, allocations: 9.109 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/1.182, allocations: 119.3 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/1.182, allocations: 26.31 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * 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.0005541/1.183, allocations: 288 kB / 1.063 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/1.183, allocations: 65.98 kB / 1.063 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/1.183, allocations: 77.69 kB / 1.064 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.183, allocations: 6.594 kB / 1.064 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.183, allocations: 6.734 kB / 1.064 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.183, allocations: 2.766 kB / 1.064 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/1.187, allocations: 1.391 MB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.187, allocations: 2.734 kB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/1.188, allocations: 114.4 kB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/1.188, allocations: 7.453 kB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/1.188, allocations: 18.08 kB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/1.188, allocations: 3.625 kB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.188, allocations: 3.375 kB / 1.065 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/1.192, allocations: 1.149 MB / 1.066 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/1.192, allocations: 145.8 kB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/1.192, allocations: 20.55 kB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/1.193, allocations: 55.25 kB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/1.193, allocations: 64.11 kB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/1.193, allocations: 24.64 kB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007309/1.194, allocations: 357.3 kB / 1.067 GB, free: 143.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.194, allocations: 0.7812 kB / 1.067 GB, free: 143.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001322/1.195, allocations: 285.3 kB / 1.067 GB, free: 143.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.004276/1.2, allocations: 1.947 MB / 1.069 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004049/1.204, allocations: 1.308 MB / 1.07 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.204, allocations: 0.6875 kB / 1.07 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/1.205, allocations: 337.3 kB / 1.071 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.206, allocations: 118.1 kB / 1.071 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.218, allocations: 4.976 MB / 1.076 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/1.219, allocations: 0.9307 MB / 1.076 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007644/1.219, allocations: 91.36 kB / 1.077 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/1.22, allocations: 263.4 kB / 1.077 GB, free: 139 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.22, allocations: 0 / 1.077 GB, free: 139 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/1.271, allocations: 13.48 MB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.271, allocations: 209 kB / 1.09 GB, free: 137.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.334, allocations: 3.125 kB / 1.09 GB, free: 137.6 MB / 0.698 GB