Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.93 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.0009891/0.0009891, allocations: 179.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008426/0.0008426, allocations: 90.55 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.677e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.624, allocations: 443.1 MB / 1.318 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.624, allocations: 94.78 kB / 1.318 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.359/4.983, allocations: 0.9532 GB / 2.271 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/4.983, allocations: 2.266 kB / 2.271 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002561/4.984, allocations: 55.28 kB / 2.271 GB, free: 126.1 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.00526/4.989, allocations: 2.139 MB / 2.273 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/4.989, allocations: 9.438 kB / 2.273 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004131/4.993, allocations: 0.7307 MB / 2.274 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02259/5.016, allocations: 8.757 MB / 2.283 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.063e-05/5.016, allocations: 36.95 kB / 2.283 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/5.016, allocations: 81.62 kB / 2.283 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002206/5.018, allocations: 0.9323 MB / 2.284 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/5.021, allocations: 1.232 MB / 2.285 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/5.021, allocations: 4.125 kB / 2.285 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/5.021, allocations: 3.5 kB / 2.285 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/5.021, allocations: 33.55 kB / 2.285 GB, free: 124.4 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.01016/5.031, allocations: 8.147 MB / 2.293 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/5.034, allocations: 0.9292 MB / 2.294 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/5.034, allocations: 370.2 kB / 2.294 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004778/5.039, allocations: 2.909 MB / 2.297 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006288/5.04, allocations: 416.6 kB / 2.297 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008409/5.041, allocations: 160.7 kB / 2.298 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 2.926e-06/5.041, allocations: 1.625 kB / 2.298 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.002157/5.043, allocations: 0.8216 MB / 2.298 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/5.043, allocations: 114.1 kB / 2.298 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/5.045, allocations: 1.187 MB / 2.3 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/5.045, allocations: 29.73 kB / 2.3 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/5.046, allocations: 0.9058 MB / 2.301 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/5.046, allocations: 223.4 kB / 2.301 GB, free: 117 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/5.046, allocations: 2.875 kB / 2.301 GB, free: 117 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/5.046, allocations: 347.9 kB / 2.301 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/5.047, allocations: 316.8 kB / 2.301 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/5.047, allocations: 0.7749 MB / 2.302 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/5.049, allocations: 0.4927 MB / 2.303 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/5.049, allocations: 3.938 kB / 2.303 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002415/5.051, allocations: 1.219 MB / 2.304 GB, free: 116 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001028/5.052, allocations: 5.089 MB / 2.309 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/5.052, allocations: 14.03 kB / 2.309 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.005e-05/5.052, allocations: 19.31 kB / 2.309 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/5.053, allocations: 294.4 kB / 2.309 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-05/5.054, allocations: 29.06 kB / 2.309 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/5.055, allocations: 131.9 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/5.055, allocations: 63.41 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/5.055, allocations: 5.344 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002178/5.058, allocations: 0.9932 MB / 2.31 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/5.058, allocations: 13.59 kB / 2.31 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/5.058, allocations: 23.8 kB / 2.31 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/5.059, allocations: 293 kB / 2.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/5.059, allocations: 28.31 kB / 2.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/5.06, allocations: 125.2 kB / 2.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/5.06, allocations: 60.23 kB / 2.311 GB, free: 110.6 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.0002807/5.061, allocations: 148.7 kB / 2.311 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001729/5.062, allocations: 0.7935 MB / 2.312 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/5.062, allocations: 171.5 kB / 2.312 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/5.065, allocations: 1.049 MB / 2.313 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/5.065, allocations: 9.219 kB / 2.313 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/5.065, allocations: 0 / 2.313 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/5.066, allocations: 0.9563 MB / 2.314 GB, free: 109.8 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.004288/5.071, allocations: 2.344 MB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/5.071, allocations: 8.875 kB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/5.072, allocations: 172.3 kB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/5.072, allocations: 5.375 kB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/5.072, allocations: 21.06 kB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/5.072, allocations: 5.438 kB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/5.072, allocations: 1 kB / 2.316 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/5.074, allocations: 1.497 MB / 2.318 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/5.075, allocations: 333.5 kB / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/5.075, allocations: 2.75 kB / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/5.076, allocations: 127.1 kB / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/5.076, allocations: 58.55 kB / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/5.076, allocations: 32.42 kB / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001154/5.077, allocations: 0.8749 MB / 2.319 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/5.077, allocations: 0 / 2.319 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003686/5.081, allocations: 1.025 MB / 2.32 GB, free: 108.7 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.004149/5.085, allocations: 3.253 MB / 2.323 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002161/5.087, allocations: 1.573 MB / 2.325 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/5.087, allocations: 0 / 2.325 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004632/5.088, allocations: 397.7 kB / 2.325 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/5.091, allocations: 0.6994 MB / 2.326 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007871/5.099, allocations: 3.096 MB / 2.329 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/5.1, allocations: 1.415 MB / 2.33 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002893/5.103, allocations: 0.5787 MB / 2.331 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/5.104, allocations: 0.7231 MB / 2.332 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.334e-06/5.104, allocations: 0 / 2.332 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08669/5.19, allocations: 51.69 MB / 2.382 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/5.191, allocations: 217.2 kB / 2.382 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.805/8.996, allocations: 2.844 kB / 2.382 GB, free: 103.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)