Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.694/2.694, allocations: 284.8 MB / 297.3 MB, free: 6.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002152, allocations: 184.8 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 100.6 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.877e-05, allocations: 8 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.812, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/2.184, allocations: 450.3 MB / 1.41 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/2.185, allocations: 96.94 kB / 1.41 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.459/7.644, allocations: 0.9856 GB / 2.395 GB, free: 151.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.995e-06/7.644, allocations: 0 / 2.395 GB, free: 151.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006508/7.644, allocations: 57.89 kB / 2.395 GB, free: 151.2 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.012/7.656, allocations: 2.133 MB / 2.398 GB, free: 150.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/7.656, allocations: 10.69 kB / 2.398 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/7.667, allocations: 0.7371 MB / 2.398 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04645/7.714, allocations: 8.966 MB / 2.407 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/7.714, allocations: 98.09 kB / 2.407 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/7.715, allocations: 131.2 kB / 2.407 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/7.72, allocations: 1.42 MB / 2.409 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.47e-05/7.72, allocations: 6.531 kB / 2.409 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/7.72, allocations: 51.22 kB / 2.409 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/7.721, allocations: 33.91 kB / 2.409 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/7.725, allocations: 0.9978 MB / 2.41 GB, free: 149.2 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.02212/7.747, allocations: 8.39 MB / 2.418 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/7.754, allocations: 0.9285 MB / 2.419 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/7.756, allocations: 380.4 kB / 2.419 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/7.766, allocations: 2.952 MB / 2.422 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/7.768, allocations: 435.1 kB / 2.422 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00202/7.77, allocations: 194.2 kB / 2.423 GB, free: 142.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 1.013e-05/7.77, allocations: 0 / 2.423 GB, free: 142.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.003778/7.774, allocations: 0.7617 MB / 2.423 GB, free: 142.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/7.774, allocations: 113.5 kB / 2.424 GB, free: 142.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/7.777, allocations: 1.343 MB / 2.425 GB, free: 142 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003453/7.778, allocations: 47.44 kB / 2.425 GB, free: 141.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/7.779, allocations: 0.9053 MB / 2.426 GB, free: 141.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/7.78, allocations: 230 kB / 2.426 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/7.78, allocations: 24 kB / 2.426 GB, free: 141.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001224/7.78, allocations: 350.2 kB / 2.426 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00094/7.781, allocations: 329.6 kB / 2.427 GB, free: 141.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/7.782, allocations: 0.7981 MB / 2.427 GB, free: 140.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/7.784, allocations: 455.8 kB / 2.428 GB, free: 140.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/7.784, allocations: 2.844 kB / 2.428 GB, free: 140.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00394/7.788, allocations: 1.252 MB / 2.429 GB, free: 140.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/7.789, allocations: 5.114 MB / 2.434 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/7.789, allocations: 14.19 kB / 2.434 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.735e-05/7.789, allocations: 21.88 kB / 2.434 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/7.791, allocations: 293.7 kB / 2.434 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-05/7.792, allocations: 29.56 kB / 2.434 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/7.795, allocations: 151.2 kB / 2.435 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/7.795, allocations: 59.41 kB / 2.435 GB, free: 135 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/7.795, allocations: 7.281 kB / 2.435 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002674/7.798, allocations: 1.064 MB / 2.436 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/7.798, allocations: 14.7 kB / 2.436 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/7.798, allocations: 23.31 kB / 2.436 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/7.8, allocations: 289.6 kB / 2.436 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.79e-05/7.8, allocations: 27.7 kB / 2.436 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/7.803, allocations: 155.6 kB / 2.436 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/7.803, allocations: 64.8 kB / 2.436 GB, free: 135 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.0003972/7.803, allocations: 176.3 kB / 2.436 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/7.804, allocations: 179.7 kB / 2.437 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/7.807, allocations: 1.065 MB / 2.438 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/7.807, allocations: 9.625 kB / 2.438 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/7.807, allocations: 3.953 kB / 2.438 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001715/7.808, allocations: 0.9466 MB / 2.439 GB, free: 134.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.006851/7.815, allocations: 2.498 MB / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/7.815, allocations: 0 / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/7.817, allocations: 177.9 kB / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/7.817, allocations: 3.875 kB / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/7.817, allocations: 21.52 kB / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/7.817, allocations: 3.625 kB / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/7.817, allocations: 2.156 kB / 2.441 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/7.821, allocations: 1.511 MB / 2.443 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/7.822, allocations: 344.7 kB / 2.443 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/7.822, allocations: 24.09 kB / 2.443 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/7.824, allocations: 132.5 kB / 2.443 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/7.825, allocations: 63.11 kB / 2.443 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/7.825, allocations: 33.09 kB / 2.443 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002091/7.827, allocations: 1.025 MB / 2.444 GB, free: 133.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/7.827, allocations: 0 / 2.444 GB, free: 133.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005627/7.833, allocations: 1.077 MB / 2.445 GB, free: 133 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.002986/7.836, allocations: 1.197 MB / 2.446 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003929/7.84, allocations: 1.66 MB / 2.448 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/7.84, allocations: 3.938 kB / 2.448 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/7.841, allocations: 416.8 kB / 2.448 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006047/7.847, allocations: 0.7721 MB / 2.449 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009558/7.856, allocations: 2.717 MB / 2.452 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/7.857, allocations: 1.416 MB / 2.453 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004567/7.862, allocations: 0.5906 MB / 2.454 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/7.863, allocations: 124.7 kB / 2.454 GB, free: 131.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/7.863, allocations: 0 / 2.454 GB, free: 131.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1049/7.968, allocations: 43.61 MB / 2.497 GB, free: 128.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)