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.718/1.718, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001225/0.001226, allocations: 179.8 kB / 371.6 MB, free: 3.383 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.717/1.717, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008909/0.0008909, allocations: 90.31 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.645e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.239/2.543, allocations: 451.4 MB / 1.421 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/2.543, allocations: 95.67 kB / 1.421 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.974/6.517, allocations: 0.9856 GB / 2.406 GB, free: 51.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.485e-06/6.517, allocations: 0 / 2.406 GB, free: 51.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002655/6.517, allocations: 55.92 kB / 2.407 GB, free: 51 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.006457/6.523, allocations: 2.141 MB / 2.409 GB, free: 48.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/6.524, allocations: 16.02 kB / 2.409 GB, free: 48.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/6.524, allocations: 169.5 kB / 2.409 GB, free: 48.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/6.528, allocations: 0.7349 MB / 2.409 GB, free: 47.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/6.548, allocations: 8.962 MB / 2.418 GB, free: 38.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/6.548, allocations: 94.38 kB / 2.418 GB, free: 38.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/6.548, allocations: 132.2 kB / 2.418 GB, free: 38.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/6.551, allocations: 1.429 MB / 2.42 GB, free: 37.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/6.551, allocations: 7.938 kB / 2.42 GB, free: 37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/6.551, allocations: 52 kB / 2.42 GB, free: 36.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/6.551, allocations: 32 kB / 2.42 GB, free: 36.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/6.553, allocations: 1 MB / 2.421 GB, free: 35.91 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.01148/6.564, allocations: 8.395 MB / 2.429 GB, free: 26.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/6.567, allocations: 0.9319 MB / 2.43 GB, free: 25.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/6.567, allocations: 379.7 kB / 2.43 GB, free: 25.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005044/6.572, allocations: 2.95 MB / 2.433 GB, free: 22.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006425/6.573, allocations: 446.8 kB / 2.434 GB, free: 21.89 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001073/6.574, allocations: 187 kB / 2.434 GB, free: 21.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.457e-06/6.574, allocations: 0 / 2.434 GB, free: 21.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.001263/6.576, allocations: 0.7624 MB / 2.435 GB, free: 20.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/6.576, allocations: 115.3 kB / 2.435 GB, free: 20.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/6.577, allocations: 1.337 MB / 2.436 GB, free: 19.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.364e-05/6.577, allocations: 45.7 kB / 2.436 GB, free: 19.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/6.578, allocations: 0.8963 MB / 2.437 GB, free: 18.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/6.578, allocations: 236.7 kB / 2.437 GB, free: 18.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/6.578, allocations: 20 kB / 2.437 GB, free: 18.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/6.578, allocations: 345.9 kB / 2.438 GB, free: 17.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/6.579, allocations: 334.5 kB / 2.438 GB, free: 17.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/6.58, allocations: 0.791 MB / 2.439 GB, free: 16.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/6.58, allocations: 453.7 kB / 2.439 GB, free: 16.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/6.58, allocations: 7.984 kB / 2.439 GB, free: 16.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001872/6.582, allocations: 1.25 MB / 2.44 GB, free: 14.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/6.583, allocations: 5.117 MB / 2.445 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/6.583, allocations: 15.95 kB / 2.445 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.452e-05/6.583, allocations: 20 kB / 2.445 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/6.585, allocations: 287.5 kB / 2.446 GB, free: 8.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/6.585, allocations: 31.86 kB / 2.446 GB, free: 8.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/6.586, allocations: 155.7 kB / 2.446 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/6.587, allocations: 59.98 kB / 2.446 GB, free: 8.715 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/6.587, allocations: 8 kB / 2.446 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001631/6.588, allocations: 1.063 MB / 2.447 GB, free: 7.637 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/6.588, allocations: 12 kB / 2.447 GB, free: 7.625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/6.588, allocations: 20 kB / 2.447 GB, free: 7.605 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/6.589, allocations: 291.9 kB / 2.447 GB, free: 7.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/6.589, allocations: 23.94 kB / 2.447 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/6.591, allocations: 147.8 kB / 2.447 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/6.591, allocations: 59.97 kB / 2.447 GB, free: 7.094 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.0003092/6.591, allocations: 188.5 kB / 2.448 GB, free: 6.902 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/6.592, allocations: 177.8 kB / 2.448 GB, free: 6.727 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/6.594, allocations: 1.06 MB / 2.449 GB, free: 5.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/6.594, allocations: 19.92 kB / 2.449 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/6.594, allocations: 0 / 2.449 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/6.595, allocations: 0.9542 MB / 2.45 GB, free: 4.617 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.005485/6.6, allocations: 2.487 MB / 2.452 GB, free: 2.043 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/6.6, allocations: 4 kB / 2.452 GB, free: 2.039 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/6.601, allocations: 175.8 kB / 2.452 GB, free: 1.867 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/6.601, allocations: 7.953 kB / 2.452 GB, free: 1.859 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/6.601, allocations: 23.98 kB / 2.452 GB, free: 1.836 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/6.601, allocations: 4 kB / 2.452 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/6.601, allocations: 0 / 2.452 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/6.604, allocations: 1.517 MB / 2.454 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/6.605, allocations: 350.5 kB / 2.454 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/6.605, allocations: 19.98 kB / 2.454 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/6.606, allocations: 123.9 kB / 2.454 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/6.606, allocations: 56.7 kB / 2.454 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/6.606, allocations: 35.97 kB / 2.454 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002102/6.609, allocations: 1.024 MB / 2.455 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.1e-07/6.609, allocations: 0 / 2.455 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005378/6.614, allocations: 1.08 MB / 2.456 GB, free: 13.54 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) * 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.0052/6.619, allocations: 3.296 MB / 2.46 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002938/6.622, allocations: 1.659 MB / 2.461 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/6.622, allocations: 0 / 2.461 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000664/6.623, allocations: 420.3 kB / 2.462 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/6.627, allocations: 0.7751 MB / 2.462 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/6.636, allocations: 3.182 MB / 2.466 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/6.638, allocations: 1.411 MB / 2.467 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003052/6.641, allocations: 0.5962 MB / 2.468 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/6.642, allocations: 0.7335 MB / 2.468 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of SimCode: time 1.122e-06/6.642, allocations: 0 / 2.468 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8845/7.526, allocations: 61.49 MB / 2.528 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/7.526, allocations: 217.8 kB / 2.528 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.038/12.56, allocations: 0 / 2.528 GB, free: 115.5 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)