Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 293 MB / 309 MB, free: 4.836 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.001004/0.001004, allocations: 179.3 kB / 378.7 MB, free: 1.043 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.549/1.549, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0007374/0.000737, allocations: 87.03 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004289, allocations: 8 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2411, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.611/1.852, allocations: 487.9 MB / 1.467 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.852, allocations: 92.91 kB / 1.467 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 20.56/22.41, allocations: 5.361 GB / 6.828 GB, free: 53.35 MB / 1.214 GB Notification: Performance of FrontEnd: time 6.061e-06/22.41, allocations: 5.969 kB / 6.828 GB, free: 53.35 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003988/22.41, allocations: 316.8 kB / 6.829 GB, free: 53.29 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.05611/22.47, allocations: 13.58 MB / 6.842 GB, free: 47.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/22.47, allocations: 12.48 kB / 6.842 GB, free: 47.2 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/22.49, allocations: 2.475 MB / 6.844 GB, free: 46.43 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05093/22.54, allocations: 17.15 MB / 6.861 GB, free: 43.75 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009436/22.54, allocations: 0.5602 MB / 6.862 GB, free: 43.73 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/22.54, allocations: 0.7367 MB / 6.862 GB, free: 43.73 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/22.57, allocations: 8.615 MB / 6.871 GB, free: 42.43 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/22.57, allocations: 25.38 kB / 6.871 GB, free: 42.41 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/22.57, allocations: 307.9 kB / 6.871 GB, free: 42.41 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/22.57, allocations: 195.7 kB / 6.871 GB, free: 42.41 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/22.59, allocations: 6.379 MB / 6.877 GB, free: 42.23 MB / 1.214 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.07558/22.66, allocations: 45.77 MB / 6.922 GB, free: 15.9 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/22.67, allocations: 4.017 MB / 6.926 GB, free: 15.77 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005938/22.68, allocations: 2.244 MB / 6.928 GB, free: 15.72 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/22.71, allocations: 9.394 MB / 6.937 GB, free: 11.9 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005297/22.71, allocations: 2.171 MB / 6.94 GB, free: 11.78 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007159/22.72, allocations: 0.5894 MB / 6.94 GB, free: 11.59 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 2.634e-05/22.72, allocations: 0 / 6.94 GB, free: 11.59 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01704/22.74, allocations: 7.114 MB / 6.947 GB, free: 9.836 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/22.74, allocations: 84.02 kB / 6.947 GB, free: 9.77 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0221/22.76, allocations: 8.964 MB / 6.956 GB, free: 9.117 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/22.76, allocations: 120.3 kB / 6.956 GB, free: 9.086 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.006379/22.77, allocations: 5.573 MB / 6.962 GB, free: 7.52 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/22.77, allocations: 1.18 MB / 6.963 GB, free: 6.77 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008091/22.77, allocations: 92.8 kB / 6.963 GB, free: 6.77 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003978/22.77, allocations: 492.8 kB / 6.963 GB, free: 6.457 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/22.77, allocations: 1.702 MB / 6.965 GB, free: 6.426 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005125/22.78, allocations: 3.854 MB / 6.969 GB, free: 3.68 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/22.79, allocations: 5.341 MB / 6.974 GB, free: 15.88 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.982e-05/22.79, allocations: 14.81 kB / 6.974 GB, free: 15.88 MB / 1.229 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01361/22.8, allocations: 6.419 MB / 6.98 GB, free: 13.21 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001728/22.8, allocations: 1.685 MB / 6.982 GB, free: 10.89 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/22.8, allocations: 51.75 kB / 6.982 GB, free: 10.89 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/22.8, allocations: 0.5285 MB / 6.982 GB, free: 10.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/22.81, allocations: 1.115 MB / 6.983 GB, free: 10.58 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/22.81, allocations: 8.322 MB / 6.992 GB, free: 3.004 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009585/22.82, allocations: 0.7136 MB / 6.992 GB, free: 2.82 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007384/22.82, allocations: 270.2 kB / 6.993 GB, free: 2.777 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/22.82, allocations: 4.5 kB / 6.993 GB, free: 2.777 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/22.83, allocations: 5.378 MB / 6.998 GB, free: 0.5977 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/22.83, allocations: 49.78 kB / 6.998 GB, free: 0.5977 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/22.84, allocations: 0.5188 MB / 6.998 GB, free: 420 kB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/22.84, allocations: 1.083 MB / 6.999 GB, free: 300 kB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/22.85, allocations: 8.315 MB / 7.008 GB, free: 8.711 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009744/22.86, allocations: 0.6958 MB / 7.008 GB, free: 8.535 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/22.86, allocations: 252.7 kB / 7.008 GB, free: 8.496 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009273/22.87, allocations: 2.576 MB / 7.011 GB, free: 7.078 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004145/22.87, allocations: 0.9814 MB / 7.012 GB, free: 6.551 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/22.89, allocations: 5.411 MB / 7.017 GB, free: 4.469 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/22.89, allocations: 48.52 kB / 7.017 GB, free: 4.461 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.058e-05/22.89, allocations: 7 kB / 7.017 GB, free: 4.461 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008701/22.9, allocations: 3.845 MB / 7.021 GB, free: 2.961 MB / 1.245 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.04134/22.94, allocations: 12.57 MB / 7.033 GB, free: 14.18 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/22.94, allocations: 0 / 7.033 GB, free: 14.18 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/22.94, allocations: 0.7038 MB / 7.034 GB, free: 13.61 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/22.94, allocations: 465.6 kB / 7.034 GB, free: 13.2 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006672/22.94, allocations: 106.5 kB / 7.035 GB, free: 13.12 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00664/22.95, allocations: 8.227 MB / 7.043 GB, free: 4.746 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/22.95, allocations: 32 / 7.043 GB, free: 4.746 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/22.97, allocations: 7.387 MB / 7.05 GB, free: 14.32 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007851/22.98, allocations: 1.643 MB / 7.051 GB, free: 12.89 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004426/22.98, allocations: 71.56 kB / 7.051 GB, free: 12.82 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009816/22.99, allocations: 0.6365 MB / 7.052 GB, free: 12.35 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/22.99, allocations: 232.5 kB / 7.052 GB, free: 12.21 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001127/23, allocations: 194.8 kB / 7.052 GB, free: 12.07 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.01747/23.01, allocations: 5.967 MB / 7.058 GB, free: 7.172 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.11e-07/23.01, allocations: 0 / 7.058 GB, free: 7.172 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03033/23.04, allocations: 5.558 MB / 7.064 GB, free: 1.664 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 1.092/24.14, allocations: 6.432 MB / 7.07 GB, free: 110.6 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01955/24.16, allocations: 7.79 MB / 7.078 GB, free: 110.1 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/24.16, allocations: 6.344 kB / 7.078 GB, free: 110.1 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006655/24.16, allocations: 2.343 MB / 7.08 GB, free: 109.8 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03184/24.19, allocations: 4.856 MB / 7.085 GB, free: 109.7 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05188/24.25, allocations: 21.86 MB / 7.106 GB, free: 100.6 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/24.26, allocations: 5.439 MB / 7.111 GB, free: 99.66 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01966/24.28, allocations: 2.567 MB / 7.114 GB, free: 99.56 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004204/24.28, allocations: 0.744 MB / 7.115 GB, free: 99.56 MB / 1.276 GB Notification: Performance of SimCode: time 1.463e-06/24.28, allocations: 4.375 kB / 7.115 GB, free: 99.56 MB / 1.276 GB Notification: Performance of Templates: time 0.3817/24.67, allocations: 205.6 MB / 7.315 GB, free: 83.97 MB / 1.276 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)