Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001134/0.001134, allocations: 176.4 kB / 361.4 MB, free: 6.859 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.689/1.689, allocations: 205.2 MB / 0.62 GB, free: 11.7 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.000898/0.0008976, allocations: 88.97 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.908e-05, allocations: 4 kB / 0.8517 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7438, allocations: 115.3 MB / 0.9643 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.946, allocations: 485.9 MB / 1.439 GB, free: 78.58 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.947, allocations: 87.67 kB / 1.439 GB, free: 78.54 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 21.68/23.62, allocations: 5.363 GB / 6.802 GB, free: 23.86 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.034e-06/23.62, allocations: 0 / 6.802 GB, free: 23.86 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.002292/23.63, allocations: 315.7 kB / 6.803 GB, free: 23.55 MB / 1.182 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.03157/23.66, allocations: 10.64 MB / 6.813 GB, free: 12.79 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/23.66, allocations: 12.03 kB / 6.813 GB, free: 12.77 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/23.67, allocations: 2.475 MB / 6.816 GB, free: 10.28 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05483/23.73, allocations: 19.09 MB / 6.834 GB, free: 7.172 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005015/23.73, allocations: 240 kB / 6.834 GB, free: 6.938 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/23.73, allocations: 448 kB / 6.835 GB, free: 6.5 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01582/23.75, allocations: 5.554 MB / 6.84 GB, free: 0.9414 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/23.77, allocations: 7.26 MB / 6.847 GB, free: 9.277 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003366/23.77, allocations: 27.78 kB / 6.847 GB, free: 9.25 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002235/23.78, allocations: 19.98 kB / 6.847 GB, free: 9.23 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/23.78, allocations: 199.9 kB / 6.848 GB, free: 9.035 MB / 1.214 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 1.199/24.97, allocations: 44.89 MB / 6.891 GB, free: 45.9 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007941/24.98, allocations: 3.619 MB / 6.895 GB, free: 45.85 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/24.99, allocations: 2.01 MB / 6.897 GB, free: 45.82 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02516/25.01, allocations: 9.512 MB / 6.906 GB, free: 42.13 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00361/25.01, allocations: 1.873 MB / 6.908 GB, free: 42.03 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008712/25.02, allocations: 0.542 MB / 6.909 GB, free: 41.94 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 3.444e-05/25.02, allocations: 0 / 6.909 GB, free: 41.94 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01381/25.04, allocations: 4.375 MB / 6.913 GB, free: 41.21 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/25.04, allocations: 93.61 kB / 6.913 GB, free: 41.14 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02461/25.06, allocations: 7.61 MB / 6.92 GB, free: 40.59 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001549/25.06, allocations: 38.92 kB / 6.92 GB, free: 40.56 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008306/25.07, allocations: 5.52 MB / 6.926 GB, free: 39.44 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002366/25.07, allocations: 1.132 MB / 6.927 GB, free: 38.86 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/25.08, allocations: 0 / 6.927 GB, free: 38.86 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000324/25.08, allocations: 494.6 kB / 6.927 GB, free: 38.55 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/25.08, allocations: 1.46 MB / 6.929 GB, free: 38.53 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/25.08, allocations: 3.549 MB / 6.932 GB, free: 35.93 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006693/25.09, allocations: 2.352 MB / 6.935 GB, free: 35.87 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.469e-05/25.09, allocations: 17.09 kB / 6.935 GB, free: 35.87 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01807/25.11, allocations: 5.909 MB / 6.94 GB, free: 35.16 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01267/25.12, allocations: 31.15 MB / 6.971 GB, free: 34.07 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/25.12, allocations: 52.03 kB / 6.971 GB, free: 34.07 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/25.12, allocations: 495 kB / 6.971 GB, free: 33.99 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/25.13, allocations: 1.115 MB / 6.972 GB, free: 33.99 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/25.13, allocations: 8.216 MB / 6.98 GB, free: 27.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/25.15, allocations: 0.6116 MB / 6.981 GB, free: 27.27 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/25.15, allocations: 272.6 kB / 6.981 GB, free: 27.27 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/25.15, allocations: 7.969 kB / 6.981 GB, free: 27.27 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/25.16, allocations: 4.699 MB / 6.986 GB, free: 27.09 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/25.16, allocations: 56.91 kB / 6.986 GB, free: 27.09 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/25.16, allocations: 492.9 kB / 6.986 GB, free: 27.01 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/25.17, allocations: 1.08 MB / 6.987 GB, free: 27.01 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/25.18, allocations: 8.233 MB / 6.995 GB, free: 20.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01522/25.19, allocations: 0.5936 MB / 6.996 GB, free: 20.27 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/25.19, allocations: 252.9 kB / 6.996 GB, free: 20.27 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.002786/25.2, allocations: 303.5 kB / 6.997 GB, free: 20.16 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004135/25.2, allocations: 0.9637 MB / 6.998 GB, free: 19.64 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/25.22, allocations: 4.918 MB / 7.002 GB, free: 35.29 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/25.22, allocations: 41.02 kB / 7.002 GB, free: 35.29 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/25.22, allocations: 4.828 kB / 7.002 GB, free: 35.29 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006817/25.22, allocations: 3.447 MB / 7.006 GB, free: 35.05 MB / 1.26 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.03607/25.26, allocations: 11.38 MB / 7.017 GB, free: 34.4 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/25.26, allocations: 2.969 kB / 7.017 GB, free: 34.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/25.26, allocations: 0.7023 MB / 7.018 GB, free: 34.4 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/25.26, allocations: 426.7 kB / 7.018 GB, free: 34.32 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003083/25.26, allocations: 65.09 kB / 7.018 GB, free: 34.32 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006049/25.27, allocations: 8.124 MB / 7.026 GB, free: 27.62 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/25.27, allocations: 0 / 7.026 GB, free: 27.62 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/25.29, allocations: 6.772 MB / 7.033 GB, free: 26.53 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008368/25.29, allocations: 1.728 MB / 7.034 GB, free: 25.91 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004279/25.3, allocations: 17.64 kB / 7.034 GB, free: 25.91 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01504/25.31, allocations: 0.582 MB / 7.035 GB, free: 25.89 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001389/25.31, allocations: 224.5 kB / 7.035 GB, free: 25.89 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001263/25.32, allocations: 197.1 kB / 7.035 GB, free: 25.89 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02159/25.34, allocations: 5.711 MB / 7.041 GB, free: 25.6 MB / 1.26 GB Notification: Performance of sort global known variables: time 9.82e-07/25.34, allocations: 0.75 kB / 7.041 GB, free: 25.6 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.03657/25.37, allocations: 5.594 MB / 7.046 GB, free: 25.27 MB / 1.26 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) * 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 0.01304/25.39, allocations: 6.526 MB / 7.053 GB, free: 22.53 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01735/25.4, allocations: 7.249 MB / 7.06 GB, free: 21.99 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/25.4, allocations: 5.969 kB / 7.06 GB, free: 21.99 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/25.41, allocations: 2.092 MB / 7.062 GB, free: 21.77 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02658/25.43, allocations: 4.696 MB / 7.066 GB, free: 21.69 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/25.47, allocations: 14.52 MB / 7.081 GB, free: 18.14 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0071/25.48, allocations: 5.665 MB / 7.086 GB, free: 17.08 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.02281/25.5, allocations: 3.787 MB / 7.09 GB, free: 16.62 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003004/25.5, allocations: 0.5569 MB / 7.09 GB, free: 16.61 MB / 1.26 GB Notification: Performance of SimCode: time 2.254e-06/25.5, allocations: 4 kB / 7.09 GB, free: 16.61 MB / 1.26 GB Notification: Performance of Templates: time 0.333/25.84, allocations: 193.5 MB / 7.279 GB, free: 6.988 MB / 1.276 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)