Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",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.179/2.179, allocations: 251 MB / 265.9 MB, free: 11.69 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.001551/0.001551, allocations: 182 kB / 325.5 MB, free: 2.902 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.324/2.324, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001066/0.001067, allocations: 97.31 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005059, allocations: 12.75 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4229, allocations: 139.4 MB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.4233, allocations: 95.94 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04415/0.4675, allocations: 9.909 MB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.478e-06/0.4675, allocations: 7.875 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.615e-05/0.4676, allocations: 11.94 kB / 1.045 GB, free: 11.8 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002019/0.4696, allocations: 0.7525 MB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.4697, allocations: 12.02 kB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.4699, allocations: 78.52 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.47, allocations: 47.44 kB / 1.046 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.4709, allocations: 374.8 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.471, allocations: 28.66 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.4711, allocations: 39.98 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.4725, allocations: 418.6 kB / 1.046 GB, free: 9.949 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4725, allocations: 0 / 1.046 GB, free: 9.949 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.4726, allocations: 15.98 kB / 1.046 GB, free: 9.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.4726, allocations: 8.656 kB / 1.046 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.4739, allocations: 330.4 kB / 1.047 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.4767, allocations: 1.116 MB / 1.048 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.4781, allocations: 363.1 kB / 1.048 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.4782, allocations: 8.062 kB / 1.048 GB, free: 8.059 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.479, allocations: 247 kB / 1.048 GB, free: 7.805 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 6.121e-06/0.479, allocations: 0 / 1.048 GB, free: 7.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.002102/0.4811, allocations: 0.5021 MB / 1.049 GB, free: 7.297 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.4812, allocations: 114.8 kB / 1.049 GB, free: 7.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.482, allocations: 367.4 kB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.57e-05/0.4821, allocations: 45.7 kB / 1.049 GB, free: 6.746 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.4823, allocations: 196.8 kB / 1.05 GB, free: 6.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.4824, allocations: 102.7 kB / 1.05 GB, free: 6.449 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.4825, allocations: 8 kB / 1.05 GB, free: 6.441 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4827, allocations: 350.8 kB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.4833, allocations: 165 kB / 1.05 GB, free: 5.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.4841, allocations: 262.5 kB / 1.051 GB, free: 5.641 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.4848, allocations: 186.5 kB / 1.051 GB, free: 5.457 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4848, allocations: 0 / 1.051 GB, free: 5.457 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001681/0.4865, allocations: 0.5012 MB / 1.051 GB, free: 4.941 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.4866, allocations: 29.7 kB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4866, allocations: 7.953 kB / 1.051 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.4866, allocations: 7.938 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.4872, allocations: 67.89 kB / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.4872, allocations: 4 kB / 1.051 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.4878, allocations: 63.83 kB / 1.051 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.4878, allocations: 16 kB / 1.051 GB, free: 4.742 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: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0004151/0.4883, allocations: 216.5 kB / 1.052 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.4884, allocations: 39.53 kB / 1.052 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.49, allocations: 436.7 kB / 1.052 GB, free: 4.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.49, allocations: 11.95 kB / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.49, allocations: 0 / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.49, allocations: 3.984 kB / 1.052 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.4925, allocations: 0.9816 MB / 1.053 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4925, allocations: 0 / 1.053 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.4929, allocations: 47.91 kB / 1.053 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.4929, allocations: 7.938 kB / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.493, allocations: 11.98 kB / 1.053 GB, free: 2.922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.493, allocations: 4 kB / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.493, allocations: 0 / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4944, allocations: 491.2 kB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.4945, allocations: 132.5 kB / 1.054 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.4946, allocations: 8 kB / 1.054 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.4952, allocations: 43.95 kB / 1.054 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.4954, allocations: 63.69 kB / 1.054 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.4954, allocations: 15.98 kB / 1.054 GB, free: 2.145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004431/0.4959, allocations: 267 kB / 1.054 GB, free: 1.887 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4959, allocations: 4 kB / 1.054 GB, free: 1.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006396/0.4965, allocations: 112 kB / 1.054 GB, free: 1.773 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002937/0.4995, allocations: 1.399 MB / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.5012, allocations: 461.6 kB / 1.056 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5012, allocations: 4.062 kB / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.5843/1.085, allocations: 192.6 kB / 1.056 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.087, allocations: 62.23 kB / 1.056 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.098, allocations: 3.234 MB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/1.099, allocations: 0.8283 MB / 1.06 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006529/1.1, allocations: 58.98 kB / 1.06 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/1.1, allocations: 143.9 kB / 1.06 GB, free: 146.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.472e-06/1.1, allocations: 0 / 1.06 GB, free: 146.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/1.148, allocations: 9.089 MB / 1.069 GB, free: 146 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.148, allocations: 276.1 kB / 1.07 GB, free: 145.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/4.011, allocations: 0.75 kB / 1.07 GB, free: 145.6 MB / 0.698 GB