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.85/1.85, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.00134/0.00134, allocations: 177 kB / 377.1 MB, free: 1.535 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.989/1.989, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.0009432/0.0009432, allocations: 90.44 kB / 0.7509 GB, free: 63.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004622, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3369, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.949/2.286, allocations: 451.5 MB / 1.429 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004273/2.287, allocations: 100.8 kB / 1.429 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.564/5.851, allocations: 0.9888 GB / 2.418 GB, free: 28.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.955e-06/5.851, allocations: 3.938 kB / 2.418 GB, free: 28.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004364/5.851, allocations: 51.92 kB / 2.418 GB, free: 27.96 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.009154/5.86, allocations: 2.653 MB / 2.421 GB, free: 25.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/5.86, allocations: 8.031 kB / 2.421 GB, free: 25.24 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007337/5.861, allocations: 177.5 kB / 2.421 GB, free: 25.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/5.865, allocations: 0.7349 MB / 2.422 GB, free: 24.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02127/5.887, allocations: 9.018 MB / 2.431 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/5.887, allocations: 102.4 kB / 2.431 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/5.887, allocations: 132 kB / 2.431 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/5.891, allocations: 1.543 MB / 2.432 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/5.892, allocations: 3.938 kB / 2.432 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/5.892, allocations: 52 kB / 2.432 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/5.892, allocations: 28 kB / 2.432 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/5.895, allocations: 1.222 MB / 2.434 GB, free: 11.96 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01305/5.908, allocations: 8.394 MB / 2.442 GB, free: 2.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/5.912, allocations: 1.154 MB / 2.443 GB, free: 1.758 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/5.919, allocations: 2.942 MB / 2.446 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/5.92, allocations: 0.53 MB / 2.446 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001305/5.921, allocations: 187 kB / 2.446 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=66): time 5.58e-06/5.921, allocations: 3.938 kB / 2.446 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=66): time 0.004141/5.925, allocations: 1.293 MB / 2.448 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/5.926, allocations: 119.4 kB / 2.448 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/5.929, allocations: 1.368 MB / 2.449 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/5.93, allocations: 45.7 kB / 2.449 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/5.931, allocations: 0.8924 MB / 2.45 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/5.931, allocations: 236.7 kB / 2.45 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/5.932, allocations: 24 kB / 2.45 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000196/5.932, allocations: 345.9 kB / 2.451 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/5.933, allocations: 430.3 kB / 2.451 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/5.935, allocations: 0.8993 MB / 2.452 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/5.936, allocations: 0.5341 MB / 2.452 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/5.936, allocations: 4 kB / 2.452 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004195/5.94, allocations: 1.453 MB / 2.454 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002632/5.943, allocations: 5.116 MB / 2.459 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-05/5.943, allocations: 23.98 kB / 2.459 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/5.943, allocations: 23.94 kB / 2.459 GB, free: 308 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/5.944, allocations: 283.5 kB / 2.459 GB, free: 24 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6731/6.618, allocations: 29.2 kB / 2.459 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/6.62, allocations: 146.4 kB / 2.459 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/6.621, allocations: 59.53 kB / 2.459 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/6.621, allocations: 6.438 kB / 2.459 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003587/6.624, allocations: 1.265 MB / 2.461 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/6.624, allocations: 16.05 kB / 2.461 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/6.624, allocations: 19.81 kB / 2.461 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/6.626, allocations: 289.6 kB / 2.461 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.343e-05/6.626, allocations: 23.5 kB / 2.461 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/6.628, allocations: 161.2 kB / 2.461 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/6.628, allocations: 59.88 kB / 2.461 GB, free: 117.5 MB / 0.9636 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 () * Number of clocked 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.001587/6.63, allocations: 0.4946 MB / 2.462 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/6.63, allocations: 178.9 kB / 2.462 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/6.634, allocations: 1.265 MB / 2.463 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/6.634, allocations: 11.95 kB / 2.463 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/6.634, allocations: 1.406 kB / 2.463 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/6.636, allocations: 1.152 MB / 2.464 GB, free: 116.9 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006379/6.643, allocations: 2.688 MB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/6.643, allocations: 2 kB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009214/6.644, allocations: 171.7 kB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/6.644, allocations: 5.828 kB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/6.644, allocations: 28.53 kB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/6.644, allocations: 8.953 kB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/6.644, allocations: 2.656 kB / 2.467 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/6.648, allocations: 1.807 MB / 2.469 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/6.649, allocations: 348.9 kB / 2.469 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/6.649, allocations: 24.08 kB / 2.469 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/6.65, allocations: 131.4 kB / 2.469 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/6.651, allocations: 56.09 kB / 2.469 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/6.651, allocations: 30.91 kB / 2.469 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002162/6.653, allocations: 1.045 MB / 2.47 GB, free: 116 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.3e-07/6.653, allocations: 0 / 2.47 GB, free: 116 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005082/6.658, allocations: 1.077 MB / 2.471 GB, free: 115.9 MB / 0.9636 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) * Number of clocked states: 0 () * 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.007764/6.666, allocations: 3.597 MB / 2.475 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005966/6.672, allocations: 1.898 MB / 2.477 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/6.672, allocations: 1.219 kB / 2.477 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/6.673, allocations: 0.5082 MB / 2.477 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005387/6.679, allocations: 0.7751 MB / 2.478 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/6.702, allocations: 13.59 MB / 2.491 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/6.704, allocations: 1.413 MB / 2.493 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003391/6.708, allocations: 468.4 kB / 2.493 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/6.709, allocations: 0.7523 MB / 2.494 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.193e-06/6.709, allocations: 0 / 2.494 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/6.828, allocations: 56.71 MB / 2.549 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/6.828, allocations: 247 kB / 2.55 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.951/10.78, allocations: 0 / 2.55 GB, free: 101.1 MB / 0.9636 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)