Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.673/1.673, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 190.4 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008349, allocations: 93.3 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 12 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9231/0.9235, allocations: 120.3 MB / 1.026 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.971, allocations: 440.5 MB / 1.456 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.971, allocations: 96.19 kB / 1.457 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.406/5.377, allocations: 0.9973 GB / 2.454 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.946e-06/5.377, allocations: 0 / 2.454 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004836/5.378, allocations: 47.98 kB / 2.454 GB, free: 1.535 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01057/5.388, allocations: 2.57 MB / 2.456 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/5.388, allocations: 8.031 kB / 2.456 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/5.393, allocations: 0.728 MB / 2.457 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02295/5.416, allocations: 8.397 MB / 2.465 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/5.416, allocations: 94.73 kB / 2.465 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006471/5.417, allocations: 128.9 kB / 2.465 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00505/5.422, allocations: 1.524 MB / 2.467 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/5.422, allocations: 3.938 kB / 2.467 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/5.422, allocations: 48 kB / 2.467 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/5.422, allocations: 50.12 kB / 2.467 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/5.426, allocations: 1.214 MB / 2.468 GB, free: 2.445 MB / 0.9948 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.7787/6.205, allocations: 8.337 MB / 2.476 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/6.209, allocations: 1.154 MB / 2.477 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/6.21, allocations: 489 kB / 2.478 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005705/6.216, allocations: 2.947 MB / 2.481 GB, free: 125 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/6.217, allocations: 0.5224 MB / 2.481 GB, free: 125 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/6.218, allocations: 184.9 kB / 2.482 GB, free: 125 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=67): time 3.937e-06/6.218, allocations: 0 / 2.482 GB, free: 125 MB / 0.9948 GB Notification: Performance of matching and sorting (n=67): time 0.003353/6.221, allocations: 1.307 MB / 2.483 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/6.221, allocations: 60 kB / 2.483 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/6.224, allocations: 1.499 MB / 2.484 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/6.224, allocations: 42.08 kB / 2.484 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009399/6.225, allocations: 0.8817 MB / 2.485 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/6.225, allocations: 241.7 kB / 2.485 GB, free: 124.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/6.225, allocations: 25 kB / 2.485 GB, free: 124.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/6.225, allocations: 348.8 kB / 2.486 GB, free: 124 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/6.227, allocations: 415 kB / 2.486 GB, free: 124 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/6.228, allocations: 0.8744 MB / 2.487 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/6.231, allocations: 1.247 MB / 2.488 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/6.231, allocations: 3.188 kB / 2.488 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003658/6.234, allocations: 1.419 MB / 2.49 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003627/6.235, allocations: 494.2 kB / 2.49 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/6.235, allocations: 13.09 kB / 2.49 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-05/6.235, allocations: 24.06 kB / 2.49 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/6.236, allocations: 289.2 kB / 2.49 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/6.236, allocations: 26.19 kB / 2.49 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/6.238, allocations: 155.8 kB / 2.491 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/6.238, allocations: 61.31 kB / 2.491 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/6.238, allocations: 7.562 kB / 2.491 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002877/6.241, allocations: 1.236 MB / 2.492 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/6.241, allocations: 14.41 kB / 2.492 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/6.241, allocations: 18.78 kB / 2.492 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/6.242, allocations: 289 kB / 2.492 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.043e-05/6.242, allocations: 26.28 kB / 2.492 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/6.244, allocations: 159.1 kB / 2.492 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/6.244, allocations: 58.2 kB / 2.492 GB, free: 122.1 MB / 0.9948 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 (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.00146/6.246, allocations: 498.7 kB / 2.493 GB, free: 122 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/6.246, allocations: 172.2 kB / 2.493 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/6.25, allocations: 1.264 MB / 2.494 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/6.25, allocations: 17.02 kB / 2.494 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.25, allocations: 2.719 kB / 2.494 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002221/6.252, allocations: 1.153 MB / 2.495 GB, free: 121.4 MB / 0.9948 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.006812/6.259, allocations: 2.673 MB / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/6.259, allocations: 0 / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/6.26, allocations: 176.5 kB / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/6.26, allocations: 10.12 kB / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/6.26, allocations: 24.12 kB / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/6.26, allocations: 9.891 kB / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.26, allocations: 0 / 2.498 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/6.264, allocations: 1.773 MB / 2.5 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/6.266, allocations: 342.4 kB / 2.5 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/6.266, allocations: 20.19 kB / 2.5 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/6.267, allocations: 141.2 kB / 2.5 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/6.267, allocations: 54.77 kB / 2.501 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/6.267, allocations: 34.25 kB / 2.501 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0017/6.269, allocations: 0.9936 MB / 2.502 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.269, allocations: 2.594 kB / 2.502 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004509/6.274, allocations: 1.01 MB / 2.503 GB, free: 120.3 MB / 0.9948 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.s[1],pum.filter.s[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 (77): * Single equations (assignments): 68 * 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.002709/6.276, allocations: 1.124 MB / 2.504 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005096/6.281, allocations: 1.811 MB / 2.505 GB, free: 120 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/6.281, allocations: 0.5938 kB / 2.505 GB, free: 120 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/6.283, allocations: 0.5118 MB / 2.506 GB, free: 120 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/6.288, allocations: 0.7608 MB / 2.507 GB, free: 120 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/6.298, allocations: 4.34 MB / 2.511 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/6.3, allocations: 1.363 MB / 2.512 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002872/6.303, allocations: 464 kB / 2.513 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/6.303, allocations: 155.2 kB / 2.513 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/6.303, allocations: 0 / 2.513 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.07459/6.378, allocations: 37.31 MB / 2.549 GB, free: 116.4 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)