Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Reheat,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.381/2.381, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001461/0.00146, allocations: 177.7 kB / 315.4 MB, free: 4 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.065/2.065, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 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.001088/0.001088, allocations: 94.44 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.052e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8934/1.115, allocations: 134.7 MB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/1.115, allocations: 94.48 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01976/1.135, allocations: 4.636 MB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/1.135, allocations: 0 / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.705e-05/1.135, allocations: 7.938 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001049/1.136, allocations: 0.5058 MB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.136, allocations: 12.03 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/1.137, allocations: 31.62 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/1.137, allocations: 261.3 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/1.137, allocations: 11.81 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/1.137, allocations: 20 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000614/1.138, allocations: 193.8 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/1.138, allocations: 259.5 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.139, allocations: 4 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/1.139, allocations: 4 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.139, allocations: 4 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/1.141, allocations: 0.9071 MB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/1.142, allocations: 221.7 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/1.142, allocations: 93.64 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/1.142, allocations: 7.609 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/1.142, allocations: 136.1 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 4.057e-06/1.142, allocations: 0 / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0006126/1.143, allocations: 203.1 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/1.143, allocations: 63.11 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/1.143, allocations: 172.1 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/1.143, allocations: 33.2 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.143, allocations: 154.5 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/1.144, allocations: 73.67 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/1.144, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.144, allocations: 329.6 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/1.144, allocations: 88.12 kB / 1.024 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/1.144, allocations: 127.6 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.144, allocations: 76.53 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.145, allocations: 0 / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000646/1.145, allocations: 251 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.145, allocations: 14.12 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.145, allocations: 3.984 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.145, allocations: 4 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/1.146, allocations: 39.11 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.146, allocations: 11.97 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/1.146, allocations: 43.92 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.146, allocations: 15.69 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001667/1.146, allocations: 118.7 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005094/1.147, allocations: 201.6 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/1.147, allocations: 31.7 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/1.148, allocations: 226.4 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.148, allocations: 7.938 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.148, allocations: 3.953 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.148, allocations: 3.984 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/1.149, allocations: 0.6299 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.149, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/1.149, allocations: 31.36 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.149, allocations: 7.953 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/1.149, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.149, allocations: 4 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.149, allocations: 3.984 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/1.15, allocations: 314.9 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/1.15, allocations: 96.48 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/1.15, allocations: 7.953 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/1.151, allocations: 31.95 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.151, allocations: 34.95 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/1.151, allocations: 7.984 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001565/1.151, allocations: 121.8 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.151, allocations: 3.938 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005207/1.152, allocations: 51.84 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001133/1.153, allocations: 0.851 MB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005937/1.153, allocations: 209.5 kB / 1.027 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.153, allocations: 0 / 1.027 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/1.154, allocations: 112.5 kB / 1.027 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/1.154, allocations: 31.19 kB / 1.027 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/1.155, allocations: 369 kB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/1.156, allocations: 0.7678 MB / 1.029 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002092/1.156, allocations: 34.05 kB / 1.029 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.156, allocations: 83.28 kB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.156, allocations: 0 / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04646/1.203, allocations: 4.437 MB / 1.033 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/1.203, allocations: 168.6 kB / 1.033 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.627, allocations: 0 / 1.033 GB, free: 3.832 MB / 0.6511 GB