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.757/1.757, allocations: 285.4 MB / 298 MB, free: 5.977 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.001459/0.001459, allocations: 172.9 kB / 366.4 MB, free: 2.113 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.626/1.626, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0008429/0.0008431, allocations: 90.16 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.114e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8865/0.8865, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/2.239, allocations: 450.5 MB / 1.411 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/2.239, allocations: 94.81 kB / 1.411 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.413/6.653, allocations: 0.9856 GB / 2.396 GB, free: 150.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/6.653, allocations: 2.781 kB / 2.396 GB, free: 150.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005403/6.653, allocations: 52.64 kB / 2.397 GB, free: 150.3 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.009029/6.662, allocations: 2.126 MB / 2.399 GB, free: 149.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/6.662, allocations: 13.91 kB / 2.399 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/6.668, allocations: 0.7366 MB / 2.399 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02384/6.692, allocations: 8.967 MB / 2.408 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/6.692, allocations: 99.06 kB / 2.408 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/6.692, allocations: 132.6 kB / 2.408 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/6.695, allocations: 1.425 MB / 2.41 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/6.695, allocations: 3.094 kB / 2.41 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/6.695, allocations: 51.28 kB / 2.41 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/6.695, allocations: 29 kB / 2.41 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/6.697, allocations: 1.001 MB / 2.411 GB, free: 148.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.01034/6.707, allocations: 8.387 MB / 2.419 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/6.71, allocations: 0.9365 MB / 2.42 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/6.71, allocations: 377.8 kB / 2.42 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004836/6.715, allocations: 2.957 MB / 2.423 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/6.716, allocations: 435.4 kB / 2.424 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009749/6.717, allocations: 195.6 kB / 2.424 GB, free: 141.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 2.886e-06/6.717, allocations: 0 / 2.424 GB, free: 141.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.001273/6.718, allocations: 0.7603 MB / 2.424 GB, free: 141.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/6.718, allocations: 113.8 kB / 2.425 GB, free: 141.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/6.72, allocations: 1.34 MB / 2.426 GB, free: 141 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/6.72, allocations: 43.7 kB / 2.426 GB, free: 141 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/6.721, allocations: 0.896 MB / 2.427 GB, free: 140.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/6.721, allocations: 238.4 kB / 2.427 GB, free: 140.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/6.721, allocations: 18.41 kB / 2.427 GB, free: 140.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/6.721, allocations: 352.8 kB / 2.427 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/6.721, allocations: 331.3 kB / 2.428 GB, free: 140.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/6.722, allocations: 0.7939 MB / 2.428 GB, free: 139.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/6.723, allocations: 454.3 kB / 2.429 GB, free: 139.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/6.723, allocations: 3.969 kB / 2.429 GB, free: 139.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001874/6.725, allocations: 1.252 MB / 2.43 GB, free: 139.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/6.726, allocations: 5.117 MB / 2.435 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/6.726, allocations: 12.03 kB / 2.435 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/6.726, allocations: 21.12 kB / 2.435 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/6.727, allocations: 289.2 kB / 2.435 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/6.727, allocations: 23.56 kB / 2.435 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/6.729, allocations: 152.8 kB / 2.436 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/6.729, allocations: 62.83 kB / 2.436 GB, free: 134.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/6.729, allocations: 4.688 kB / 2.436 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/6.731, allocations: 1.067 MB / 2.437 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/6.731, allocations: 19.14 kB / 2.437 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/6.731, allocations: 19.97 kB / 2.437 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/6.732, allocations: 290.6 kB / 2.437 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/6.732, allocations: 32.69 kB / 2.437 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/6.734, allocations: 147.9 kB / 2.437 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/6.734, allocations: 65.02 kB / 2.437 GB, free: 134 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.0004487/6.735, allocations: 187.3 kB / 2.437 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/6.735, allocations: 176.4 kB / 2.438 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/6.737, allocations: 1.063 MB / 2.439 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/6.737, allocations: 11.08 kB / 2.439 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/6.737, allocations: 0 / 2.439 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/6.738, allocations: 0.9588 MB / 2.44 GB, free: 133.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 postOpt removeSimpleEquations (simulation): time 0.004668/6.743, allocations: 2.48 MB / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/6.743, allocations: 3.797 kB / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/6.744, allocations: 175.2 kB / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/6.744, allocations: 3.875 kB / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/6.744, allocations: 27.36 kB / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/6.744, allocations: 6.469 kB / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/6.744, allocations: 0 / 2.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/6.746, allocations: 1.513 MB / 2.444 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/6.747, allocations: 344.3 kB / 2.444 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/6.748, allocations: 20.89 kB / 2.444 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/6.749, allocations: 136.1 kB / 2.444 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/6.749, allocations: 53.11 kB / 2.444 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/6.749, allocations: 35.94 kB / 2.444 GB, free: 132.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001409/6.75, allocations: 1.028 MB / 2.445 GB, free: 132.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/6.75, allocations: 0 / 2.445 GB, free: 132.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004115/6.754, allocations: 1.077 MB / 2.446 GB, free: 132 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.002294/6.757, allocations: 1.204 MB / 2.448 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00249/6.759, allocations: 1.669 MB / 2.449 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/6.759, allocations: 3.375 kB / 2.449 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005278/6.76, allocations: 410.8 kB / 2.45 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/6.763, allocations: 0.7776 MB / 2.45 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/6.769, allocations: 2.713 MB / 2.453 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/6.77, allocations: 1.412 MB / 2.454 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003046/6.773, allocations: 0.5992 MB / 2.455 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/6.774, allocations: 127.3 kB / 2.455 GB, free: 130.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.903e-06/6.774, allocations: 3.062 kB / 2.455 GB, free: 130.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06728/6.841, allocations: 43.6 MB / 2.498 GB, free: 127.7 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)