Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.161/2.161, allocations: 248.7 MB / 256.2 MB, free: 7.098 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.001493/0.001493, allocations: 188.3 kB / 315.4 MB, free: 4.031 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.043/2.043, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001045/0.001045, allocations: 95.25 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.172e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1956, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.964/2.16, allocations: 442.9 MB / 1.317 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/2.16, allocations: 93 kB / 1.317 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.1/7.261, allocations: 0.9532 GB / 2.27 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.304e-06/7.261, allocations: 1.125 kB / 2.27 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000443/7.261, allocations: 56.83 kB / 2.27 GB, free: 127.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.009056/7.27, allocations: 2.137 MB / 2.272 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/7.27, allocations: 11.09 kB / 2.272 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007765/7.278, allocations: 0.7301 MB / 2.273 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03531/7.313, allocations: 8.747 MB / 2.281 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/7.313, allocations: 39.08 kB / 2.281 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005436/7.314, allocations: 81.94 kB / 2.281 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003038/7.317, allocations: 0.9356 MB / 2.282 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/7.321, allocations: 1.235 MB / 2.284 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/7.321, allocations: 1.75 kB / 2.284 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/7.321, allocations: 4.703 kB / 2.284 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/7.321, allocations: 31.83 kB / 2.284 GB, free: 125.6 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/7.339, allocations: 8.149 MB / 2.292 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/7.344, allocations: 0.9331 MB / 2.292 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/7.346, allocations: 365.2 kB / 2.293 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00855/7.354, allocations: 2.894 MB / 2.296 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/7.355, allocations: 410.1 kB / 2.296 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001628/7.357, allocations: 162.3 kB / 2.296 GB, free: 119 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 5.119e-06/7.357, allocations: 1.375 kB / 2.296 GB, free: 119 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.003577/7.361, allocations: 0.8246 MB / 2.297 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/7.361, allocations: 125.2 kB / 2.297 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/7.363, allocations: 1.178 MB / 2.298 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002938/7.364, allocations: 29.55 kB / 2.298 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/7.365, allocations: 0.9025 MB / 2.299 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/7.365, allocations: 228.5 kB / 2.299 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/7.365, allocations: 1.188 kB / 2.299 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001056/7.366, allocations: 347.7 kB / 2.3 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/7.366, allocations: 313.1 kB / 2.3 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/7.367, allocations: 0.778 MB / 2.301 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/7.37, allocations: 0.4955 MB / 2.301 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/7.37, allocations: 3.406 kB / 2.301 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004774/7.375, allocations: 1.216 MB / 2.302 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00126/7.376, allocations: 5.085 MB / 2.307 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.864e-05/7.376, allocations: 16.16 kB / 2.307 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.489e-05/7.376, allocations: 19.91 kB / 2.307 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/7.379, allocations: 294.9 kB / 2.308 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-05/7.379, allocations: 29.41 kB / 2.308 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/7.382, allocations: 129.5 kB / 2.308 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/7.382, allocations: 63.5 kB / 2.308 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/7.382, allocations: 4.156 kB / 2.308 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003818/7.386, allocations: 0.9955 MB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/7.386, allocations: 13.38 kB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/7.386, allocations: 23.92 kB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/7.388, allocations: 291.2 kB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/7.389, allocations: 31.16 kB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/7.391, allocations: 129.8 kB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/7.392, allocations: 61.36 kB / 2.309 GB, free: 111.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004673/7.392, allocations: 141 kB / 2.31 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0032/7.395, allocations: 0.7995 MB / 2.31 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/7.396, allocations: 168.2 kB / 2.311 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/7.4, allocations: 1.048 MB / 2.312 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/7.4, allocations: 8.938 kB / 2.312 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/7.4, allocations: 0 / 2.312 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/7.402, allocations: 0.9553 MB / 2.312 GB, free: 111 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00824/7.41, allocations: 2.358 MB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/7.411, allocations: 2.281 kB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/7.412, allocations: 174 kB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/7.412, allocations: 3.5 kB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/7.412, allocations: 19.62 kB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/7.412, allocations: 3.344 kB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/7.412, allocations: 2.812 kB / 2.315 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/7.416, allocations: 1.496 MB / 2.316 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/7.418, allocations: 337.8 kB / 2.317 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/7.418, allocations: 3.375 kB / 2.317 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/7.42, allocations: 120.5 kB / 2.317 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/7.421, allocations: 56.88 kB / 2.317 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/7.421, allocations: 33.75 kB / 2.317 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001883/7.423, allocations: 0.8754 MB / 2.318 GB, free: 110 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/7.423, allocations: 0 / 2.318 GB, free: 110 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006477/7.429, allocations: 1.041 MB / 2.319 GB, free: 109.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.007193/7.436, allocations: 3.256 MB / 2.322 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00383/7.44, allocations: 1.574 MB / 2.324 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/7.44, allocations: 1.188 kB / 2.324 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/7.441, allocations: 402.2 kB / 2.324 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005805/7.447, allocations: 0.7077 MB / 2.325 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/7.46, allocations: 3.09 MB / 2.328 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/7.461, allocations: 1.417 MB / 2.329 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004853/7.466, allocations: 0.5728 MB / 2.33 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/7.468, allocations: 0.7257 MB / 2.33 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/7.468, allocations: 0 / 2.33 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/7.613, allocations: 51.67 MB / 2.381 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/7.613, allocations: 206.5 kB / 2.381 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.046/12.66, allocations: 0 / 2.381 GB, free: 104.6 MB / 0.8855 GB