Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_Buildings_Obsolete_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 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 172.8 kB / 366.7 MB, free: 1.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 90.8 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.569e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8557/0.8558, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.419/2.275, allocations: 450.8 MB / 1.414 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/2.276, allocations: 95.12 kB / 1.414 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.667/6.943, allocations: 0.9811 GB / 2.395 GB, free: 138.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/6.943, allocations: 0 / 2.395 GB, free: 138.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005982/6.944, allocations: 59.44 kB / 2.395 GB, free: 138.2 MB / 0.948 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.01089/6.955, allocations: 2.139 MB / 2.397 GB, free: 137.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 9.876e-05/6.955, allocations: 9.844 kB / 2.397 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005841/6.961, allocations: 0.7305 MB / 2.398 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02912/6.99, allocations: 8.924 MB / 2.406 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/6.99, allocations: 38.7 kB / 2.406 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007215/6.991, allocations: 78.14 kB / 2.406 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003321/6.994, allocations: 0.9339 MB / 2.407 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/6.997, allocations: 1.235 MB / 2.409 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/6.998, allocations: 11.22 kB / 2.409 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/6.998, allocations: 10.05 kB / 2.409 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/6.998, allocations: 30.47 kB / 2.409 GB, free: 136.3 MB / 0.948 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.01375/7.011, allocations: 8.155 MB / 2.417 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/7.015, allocations: 0.9404 MB / 2.417 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/7.016, allocations: 366 kB / 2.418 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006777/7.022, allocations: 2.911 MB / 2.421 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/7.023, allocations: 411.6 kB / 2.421 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001422/7.025, allocations: 171.5 kB / 2.421 GB, free: 129.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 5.05e-06/7.025, allocations: 0 / 2.421 GB, free: 129.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.002433/7.027, allocations: 0.8264 MB / 2.422 GB, free: 129.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/7.027, allocations: 110.8 kB / 2.422 GB, free: 129.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/7.029, allocations: 1.18 MB / 2.423 GB, free: 129.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/7.029, allocations: 27.42 kB / 2.423 GB, free: 129.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/7.03, allocations: 0.9046 MB / 2.424 GB, free: 129 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/7.031, allocations: 229.9 kB / 2.424 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/7.031, allocations: 0 / 2.424 GB, free: 128.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001076/7.031, allocations: 352.1 kB / 2.425 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/7.031, allocations: 320 kB / 2.425 GB, free: 128.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/7.032, allocations: 0.7679 MB / 2.426 GB, free: 127.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/7.034, allocations: 0.4964 MB / 2.426 GB, free: 127.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/7.034, allocations: 3.375 kB / 2.426 GB, free: 127.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00307/7.037, allocations: 1.215 MB / 2.427 GB, free: 127.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/7.038, allocations: 5.087 MB / 2.432 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/7.038, allocations: 13.06 kB / 2.432 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.537e-05/7.038, allocations: 20.31 kB / 2.432 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/7.04, allocations: 292.1 kB / 2.433 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.906e-05/7.04, allocations: 28.3 kB / 2.433 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/7.042, allocations: 133.1 kB / 2.433 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/7.042, allocations: 64.61 kB / 2.433 GB, free: 122.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/7.042, allocations: 7.844 kB / 2.433 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/7.045, allocations: 0.9929 MB / 2.434 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/7.045, allocations: 16.69 kB / 2.434 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/7.045, allocations: 20.19 kB / 2.434 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/7.046, allocations: 289 kB / 2.434 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/7.046, allocations: 27.14 kB / 2.434 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/7.048, allocations: 127.4 kB / 2.434 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/7.048, allocations: 65.42 kB / 2.434 GB, free: 122.4 MB / 0.948 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.0003751/7.048, allocations: 144.8 kB / 2.435 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002232/7.051, allocations: 0.7974 MB / 2.435 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/7.051, allocations: 168 kB / 2.436 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/7.054, allocations: 1.058 MB / 2.437 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/7.054, allocations: 9.594 kB / 2.437 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/7.054, allocations: 0.9375 kB / 2.437 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/7.055, allocations: 0.9536 MB / 2.437 GB, free: 121.6 MB / 0.948 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.005627/7.061, allocations: 2.353 MB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/7.061, allocations: 1.344 kB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/7.062, allocations: 172.6 kB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/7.062, allocations: 6.531 kB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/7.062, allocations: 18.23 kB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/7.062, allocations: 3.5 kB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/7.062, allocations: 1.375 kB / 2.44 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/7.065, allocations: 1.494 MB / 2.441 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008916/7.066, allocations: 336.5 kB / 2.442 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/7.066, allocations: 6.719 kB / 2.442 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/7.067, allocations: 123.5 kB / 2.442 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/7.067, allocations: 58.62 kB / 2.442 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/7.067, allocations: 36.88 kB / 2.442 GB, free: 120.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001446/7.069, allocations: 0.8772 MB / 2.443 GB, free: 120.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/7.069, allocations: 0 / 2.443 GB, free: 120.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00463/7.073, allocations: 1.033 MB / 2.444 GB, free: 120.5 MB / 0.948 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.005104/7.078, allocations: 3.241 MB / 2.447 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003051/7.082, allocations: 1.57 MB / 2.449 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/7.082, allocations: 1.469 kB / 2.449 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006797/7.082, allocations: 407.4 kB / 2.449 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/7.087, allocations: 0.7022 MB / 2.45 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/7.098, allocations: 3.099 MB / 2.453 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/7.099, allocations: 1.41 MB / 2.454 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003459/7.103, allocations: 0.5827 MB / 2.455 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/7.104, allocations: 0.7241 MB / 2.455 GB, free: 117.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/7.104, allocations: 2.156 kB / 2.455 GB, free: 117.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09462/7.198, allocations: 51.85 MB / 2.506 GB, free: 115.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/7.199, allocations: 201.4 kB / 2.506 GB, free: 115 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.277/11.48, allocations: 2.344 kB / 2.506 GB, free: 115 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)