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: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.001082/0.001082, allocations: 191.2 kB / 373 MB, free: 10.14 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.638/1.638, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 86.81 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004232, allocations: 16.33 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2044, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8939/1.098, allocations: 450.7 MB / 1.421 GB, free: 10.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.099, allocations: 102.9 kB / 1.421 GB, free: 10.47 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.41/4.508, allocations: 0.9832 GB / 2.404 GB, free: 119.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/4.508, allocations: 0 / 2.404 GB, free: 119.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002327/4.509, allocations: 55.3 kB / 2.404 GB, free: 119.4 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.006895/4.516, allocations: 2.626 MB / 2.407 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/4.516, allocations: 11.53 kB / 2.407 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/4.52, allocations: 0.7296 MB / 2.407 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/4.536, allocations: 8.326 MB / 2.416 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/4.536, allocations: 104 kB / 2.416 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/4.537, allocations: 136.3 kB / 2.416 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/4.539, allocations: 1.545 MB / 2.417 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/4.539, allocations: 7.719 kB / 2.417 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/4.54, allocations: 51.06 kB / 2.417 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/4.54, allocations: 31.81 kB / 2.417 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/4.542, allocations: 1.219 MB / 2.419 GB, free: 110 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.009482/4.552, allocations: 8.363 MB / 2.427 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/4.556, allocations: 1.144 MB / 2.428 GB, free: 99.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/4.557, allocations: 480.1 kB / 2.428 GB, free: 99.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005001/4.562, allocations: 2.931 MB / 2.431 GB, free: 96.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/4.563, allocations: 0.5235 MB / 2.432 GB, free: 95.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001122/4.564, allocations: 190.4 kB / 2.432 GB, free: 95.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.416e-06/4.564, allocations: 3.938 kB / 2.432 GB, free: 95.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.003409/4.567, allocations: 1.306 MB / 2.433 GB, free: 94.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/4.567, allocations: 115.4 kB / 2.433 GB, free: 94.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/4.57, allocations: 1.522 MB / 2.435 GB, free: 92.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/4.57, allocations: 45.7 kB / 2.435 GB, free: 92.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/4.57, allocations: 0.8963 MB / 2.436 GB, free: 91.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/4.571, allocations: 235 kB / 2.436 GB, free: 91.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/4.571, allocations: 24 kB / 2.436 GB, free: 91.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/4.571, allocations: 341.9 kB / 2.436 GB, free: 90.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/4.572, allocations: 435.7 kB / 2.437 GB, free: 90.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/4.573, allocations: 0.9 MB / 2.438 GB, free: 89.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/4.575, allocations: 1.263 MB / 2.439 GB, free: 87.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/4.575, allocations: 4 kB / 2.439 GB, free: 87.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003038/4.578, allocations: 1.454 MB / 2.44 GB, free: 86.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/4.578, allocations: 0.4931 MB / 2.441 GB, free: 85.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/4.578, allocations: 12 kB / 2.441 GB, free: 85.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/4.578, allocations: 23.8 kB / 2.441 GB, free: 85.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/4.58, allocations: 283.5 kB / 2.441 GB, free: 85.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/4.58, allocations: 31.86 kB / 2.441 GB, free: 85.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/4.581, allocations: 155.7 kB / 2.441 GB, free: 85.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/4.581, allocations: 59.98 kB / 2.441 GB, free: 85.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/4.581, allocations: 7.938 kB / 2.441 GB, free: 85.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00253/4.584, allocations: 1.271 MB / 2.443 GB, free: 84.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/4.584, allocations: 12 kB / 2.443 GB, free: 84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/4.584, allocations: 24.12 kB / 2.443 GB, free: 83.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/4.585, allocations: 283.5 kB / 2.443 GB, free: 83.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/4.585, allocations: 23.88 kB / 2.443 GB, free: 83.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/4.587, allocations: 151.8 kB / 2.443 GB, free: 83.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/4.587, allocations: 67.97 kB / 2.443 GB, free: 83.46 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 () * 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.0009878/4.588, allocations: 498.9 kB / 2.444 GB, free: 82.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/4.588, allocations: 173.8 kB / 2.444 GB, free: 82.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/4.591, allocations: 1.27 MB / 2.445 GB, free: 81.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/4.591, allocations: 11.98 kB / 2.445 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/4.591, allocations: 0 / 2.445 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002007/4.593, allocations: 1.152 MB / 2.446 GB, free: 80.29 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 postOpt removeSimpleEquations (simulation): time 0.005327/4.598, allocations: 2.679 MB / 2.449 GB, free: 77.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/4.598, allocations: 0 / 2.449 GB, free: 77.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/4.599, allocations: 179.9 kB / 2.449 GB, free: 77.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/4.599, allocations: 0 / 2.449 GB, free: 77.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/4.599, allocations: 27.97 kB / 2.449 GB, free: 77.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/4.599, allocations: 0 / 2.449 GB, free: 77.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/4.599, allocations: 7.938 kB / 2.449 GB, free: 77.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/4.603, allocations: 1.78 MB / 2.451 GB, free: 75.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/4.604, allocations: 338.7 kB / 2.451 GB, free: 75.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/4.604, allocations: 16 kB / 2.451 GB, free: 75.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/4.605, allocations: 135.7 kB / 2.451 GB, free: 75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/4.606, allocations: 52.58 kB / 2.451 GB, free: 74.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/4.606, allocations: 35.97 kB / 2.451 GB, free: 74.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001744/4.607, allocations: 1.012 MB / 2.452 GB, free: 73.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/4.607, allocations: 0 / 2.452 GB, free: 73.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004835/4.612, allocations: 1.065 MB / 2.453 GB, free: 72.82 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) * 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.002293/4.615, allocations: 1.184 MB / 2.454 GB, free: 71.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004015/4.619, allocations: 1.903 MB / 2.456 GB, free: 69.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/4.619, allocations: 4.125 kB / 2.456 GB, free: 69.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/4.62, allocations: 0.5112 MB / 2.457 GB, free: 69.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/4.624, allocations: 0.7665 MB / 2.457 GB, free: 68.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009038/4.633, allocations: 4.381 MB / 2.462 GB, free: 64.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/4.634, allocations: 1.385 MB / 2.463 GB, free: 62.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002344/4.636, allocations: 470.1 kB / 2.464 GB, free: 62.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/4.636, allocations: 147.3 kB / 2.464 GB, free: 62.16 MB / 0.948 GB Notification: Performance of SimCode: time 7.71e-07/4.636, allocations: 0 / 2.464 GB, free: 62.16 MB / 0.948 GB Notification: Performance of Templates: time 0.05743/4.694, allocations: 38.56 MB / 2.501 GB, free: 24.45 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)