Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001144/0.001144, allocations: 180.8 kB / 361.4 MB, free: 6.824 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.744/1.744, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.000921/0.000921, allocations: 94.2 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.224e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9064, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.427/2.333, allocations: 449.8 MB / 1.404 GB, free: 118 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/2.333, allocations: 95.81 kB / 1.404 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.477/6.81, allocations: 0.9811 GB / 2.385 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.965e-06/6.811, allocations: 1.125 kB / 2.385 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007023/6.811, allocations: 58.05 kB / 2.385 GB, free: 137.1 MB / 0.9323 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.01075/6.822, allocations: 2.142 MB / 2.387 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/6.822, allocations: 9.906 kB / 2.387 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/6.827, allocations: 0.7373 MB / 2.388 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02448/6.852, allocations: 8.933 MB / 2.396 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/6.852, allocations: 38.66 kB / 2.396 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006281/6.853, allocations: 77.81 kB / 2.397 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003012/6.856, allocations: 0.9319 MB / 2.397 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/6.859, allocations: 1.239 MB / 2.399 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/6.859, allocations: 5.469 kB / 2.399 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/6.859, allocations: 6.688 kB / 2.399 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/6.859, allocations: 35.42 kB / 2.399 GB, free: 135.1 MB / 0.9323 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.01264/6.872, allocations: 8.162 MB / 2.407 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/6.875, allocations: 0.9338 MB / 2.408 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/6.875, allocations: 365.2 kB / 2.408 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005247/6.881, allocations: 2.908 MB / 2.411 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/6.881, allocations: 417.1 kB / 2.411 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/6.882, allocations: 171.3 kB / 2.411 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 3.386e-06/6.882, allocations: 0 / 2.411 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.001904/6.884, allocations: 0.8285 MB / 2.412 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/6.884, allocations: 111.1 kB / 2.412 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/6.886, allocations: 1.175 MB / 2.413 GB, free: 128 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/6.886, allocations: 31.86 kB / 2.413 GB, free: 128 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/6.887, allocations: 0.9062 MB / 2.414 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/6.887, allocations: 229.1 kB / 2.415 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/6.887, allocations: 0 / 2.415 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/6.887, allocations: 348 kB / 2.415 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/6.887, allocations: 315.2 kB / 2.415 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/6.888, allocations: 0.776 MB / 2.416 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/6.889, allocations: 0.4953 MB / 2.416 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/6.889, allocations: 3.719 kB / 2.416 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002307/6.892, allocations: 1.207 MB / 2.418 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/6.893, allocations: 5.093 MB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/6.893, allocations: 11.25 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/6.893, allocations: 25.03 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/6.894, allocations: 287.2 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/6.894, allocations: 30.25 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/6.896, allocations: 128.8 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/6.896, allocations: 67.5 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/6.896, allocations: 3.188 kB / 2.423 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002077/6.898, allocations: 0.9965 MB / 2.424 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/6.898, allocations: 11.5 kB / 2.424 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/6.898, allocations: 19.38 kB / 2.424 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/6.899, allocations: 289.9 kB / 2.424 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/6.899, allocations: 26.17 kB / 2.424 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/6.901, allocations: 135.2 kB / 2.425 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/6.901, allocations: 65.91 kB / 2.425 GB, free: 121.1 MB / 0.9323 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.0003242/6.901, allocations: 147.8 kB / 2.425 GB, free: 121 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00182/6.903, allocations: 0.794 MB / 2.426 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/6.903, allocations: 171.8 kB / 2.426 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/6.906, allocations: 1.05 MB / 2.427 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/6.906, allocations: 9.125 kB / 2.427 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/6.906, allocations: 10.33 kB / 2.427 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/6.907, allocations: 0.952 MB / 2.428 GB, free: 120.3 MB / 0.9323 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.005259/6.912, allocations: 2.346 MB / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/6.912, allocations: 1.188 kB / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/6.913, allocations: 174.4 kB / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/6.913, allocations: 3.75 kB / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/6.913, allocations: 18.62 kB / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/6.913, allocations: 3.469 kB / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/6.913, allocations: 0 / 2.43 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/6.916, allocations: 1.503 MB / 2.432 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/6.917, allocations: 336.5 kB / 2.432 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/6.917, allocations: 6.188 kB / 2.432 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/6.918, allocations: 117.7 kB / 2.432 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/6.918, allocations: 54.38 kB / 2.432 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/6.919, allocations: 42.86 kB / 2.432 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001562/6.92, allocations: 0.8773 MB / 2.433 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.91e-07/6.92, allocations: 0 / 2.433 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004707/6.925, allocations: 1.035 MB / 2.434 GB, free: 119.1 MB / 0.9323 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.004878/6.93, allocations: 3.242 MB / 2.437 GB, free: 118 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002461/6.932, allocations: 1.57 MB / 2.439 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/6.932, allocations: 2.812 kB / 2.439 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005311/6.933, allocations: 402 kB / 2.439 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/6.937, allocations: 0.7081 MB / 2.44 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008492/6.945, allocations: 3.096 MB / 2.443 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/6.946, allocations: 1.422 MB / 2.444 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003211/6.949, allocations: 0.5813 MB / 2.445 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009252/6.95, allocations: 0.7244 MB / 2.445 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.813e-06/6.95, allocations: 3.594 kB / 2.445 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09608/7.046, allocations: 51.84 MB / 2.496 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/7.046, allocations: 217.8 kB / 2.496 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.149/11.2, allocations: 4 kB / 2.496 GB, free: 113.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)