Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.ChillerStage,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",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.222/2.222, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001503/0.001502, allocations: 182 kB / 320.4 MB, free: 15.35 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.06/2.06, allocations: 205.2 MB / 0.571 GB, free: 11.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.001143/0.001143, allocations: 88.75 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.57e-05, allocations: 0 / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2014, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8935/1.095, allocations: 141.2 MB / 1.029 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.095, allocations: 96.69 kB / 1.029 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06186/1.157, allocations: 13.97 MB / 1.042 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.703e-06/1.157, allocations: 0 / 1.042 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.428e-05/1.157, allocations: 12 kB / 1.042 GB, free: 14.08 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002198/1.16, allocations: 0.8515 MB / 1.043 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.16, allocations: 12.03 kB / 1.043 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/1.16, allocations: 88.02 kB / 1.043 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/1.16, allocations: 71.16 kB / 1.043 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/1.161, allocations: 467.6 kB / 1.044 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/1.161, allocations: 48.23 kB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/1.162, allocations: 52.75 kB / 1.044 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/1.163, allocations: 0.5406 MB / 1.044 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.163, allocations: 0 / 1.044 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/1.163, allocations: 21.86 kB / 1.044 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/1.163, allocations: 12 kB / 1.044 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.165, allocations: 415.7 kB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/1.169, allocations: 1.553 MB / 1.046 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.17, allocations: 462 kB / 1.047 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/1.17, allocations: 215.7 kB / 1.047 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/1.171, allocations: 12.92 kB / 1.047 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007899/1.171, allocations: 298.5 kB / 1.047 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 4.669e-06/1.171, allocations: 0 / 1.047 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.001491/1.173, allocations: 458.7 kB / 1.048 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.173, allocations: 118.7 kB / 1.048 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/1.174, allocations: 458 kB / 1.048 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/1.174, allocations: 51.14 kB / 1.048 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/1.175, allocations: 258.4 kB / 1.049 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/1.175, allocations: 162.6 kB / 1.049 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/1.175, allocations: 19.31 kB / 1.049 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002084/1.175, allocations: 362.2 kB / 1.049 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/1.176, allocations: 177.3 kB / 1.049 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/1.176, allocations: 307.7 kB / 1.049 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/1.177, allocations: 204 kB / 1.05 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.177, allocations: 0 / 1.05 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001609/1.179, allocations: 0.5892 MB / 1.05 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/1.179, allocations: 37.69 kB / 1.05 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.179, allocations: 0 / 1.05 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.179, allocations: 4 kB / 1.05 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/1.179, allocations: 90.39 kB / 1.05 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.179, allocations: 4.25 kB / 1.05 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007863/1.18, allocations: 85.81 kB / 1.05 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/1.18, allocations: 27.25 kB / 1.05 GB, free: 7.316 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002971/1.181, allocations: 184.8 kB / 1.051 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.181, allocations: 51.39 kB / 1.051 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.182, allocations: 0.5488 MB / 1.051 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.183, allocations: 4 kB / 1.051 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.183, allocations: 7.938 kB / 1.051 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.183, allocations: 7.984 kB / 1.051 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/1.186, allocations: 1.314 MB / 1.053 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.186, allocations: 0 / 1.053 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/1.186, allocations: 71.39 kB / 1.053 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.186, allocations: 4 kB / 1.053 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/1.186, allocations: 14.5 kB / 1.053 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.187, allocations: 0 / 1.053 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.187, allocations: 0 / 1.053 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.188, allocations: 0.5961 MB / 1.053 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/1.188, allocations: 143 kB / 1.053 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.188, allocations: 19.61 kB / 1.053 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/1.189, allocations: 58.39 kB / 1.053 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/1.189, allocations: 89.05 kB / 1.054 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/1.189, allocations: 35.67 kB / 1.054 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006165/1.19, allocations: 324.9 kB / 1.054 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.41e-07/1.19, allocations: 4 kB / 1.054 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008681/1.191, allocations: 160.8 kB / 1.054 GB, free: 4.383 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.003795/1.195, allocations: 1.68 MB / 1.056 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.197, allocations: 0.5495 MB / 1.056 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.197, allocations: 0 / 1.056 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/1.197, allocations: 272 kB / 1.056 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/1.198, allocations: 90.88 kB / 1.057 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/1.202, allocations: 0.9294 MB / 1.057 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/1.202, allocations: 0.9004 MB / 1.058 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006467/1.203, allocations: 92.55 kB / 1.058 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/1.204, allocations: 213.2 kB / 1.059 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/1.204, allocations: 0 / 1.059 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/1.265, allocations: 12.43 MB / 1.071 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/1.265, allocations: 222.6 kB / 1.071 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.252, allocations: 0 / 1.071 GB, free: 4.059 MB / 0.6823 GB