Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.34/2.34, allocations: 253.2 MB / 260.6 MB, free: 7.426 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 182.9 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.6 MB / 0.5708 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 93.28 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.03e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2028, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.176/2.379, allocations: 479 MB / 1.356 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/2.379, allocations: 92.56 kB / 1.356 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 38.96/41.34, allocations: 5.214 GB / 6.57 GB, free: 55.22 MB / 1.135 GB Notification: Performance of FrontEnd: time 4.148e-06/41.34, allocations: 0 / 6.57 GB, free: 55.22 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002901/41.34, allocations: 319.2 kB / 6.571 GB, free: 55.17 MB / 1.135 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.04787/41.39, allocations: 10.62 MB / 6.581 GB, free: 50.52 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/41.39, allocations: 9.812 kB / 6.581 GB, free: 50.52 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03184/41.42, allocations: 2.479 MB / 6.583 GB, free: 49.81 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0983/41.52, allocations: 19.04 MB / 6.602 GB, free: 47.78 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009384/41.52, allocations: 239.3 kB / 6.602 GB, free: 47.78 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004676/41.53, allocations: 452.3 kB / 6.603 GB, free: 47.77 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02858/41.56, allocations: 5.561 MB / 6.608 GB, free: 47.74 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03501/41.59, allocations: 7.21 MB / 6.615 GB, free: 46.56 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004461/41.59, allocations: 17.03 kB / 6.615 GB, free: 46.56 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002856/41.6, allocations: 18.22 kB / 6.615 GB, free: 46.56 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003444/41.6, allocations: 203.7 kB / 6.615 GB, free: 46.56 MB / 1.135 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.1026/41.7, allocations: 44.97 MB / 6.659 GB, free: 20.75 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01704/41.72, allocations: 3.622 MB / 6.663 GB, free: 20.69 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007237/41.72, allocations: 2.01 MB / 6.665 GB, free: 20.66 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04457/41.78, allocations: 9.432 MB / 6.674 GB, free: 16.81 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006024/41.79, allocations: 1.837 MB / 6.676 GB, free: 16.71 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008157/41.8, allocations: 0.5384 MB / 6.676 GB, free: 16.54 MB / 1.135 GB Notification: Performance of pre-optimization done (n=339): time 2.575e-05/41.8, allocations: 0 / 6.676 GB, free: 16.54 MB / 1.135 GB Notification: Performance of matching and sorting (n=339): time 0.01782/41.81, allocations: 4.379 MB / 6.681 GB, free: 15.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/41.81, allocations: 87.83 kB / 6.681 GB, free: 15.73 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0237/41.84, allocations: 7.612 MB / 6.688 GB, free: 31.15 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/41.84, allocations: 44.25 kB / 6.688 GB, free: 31.12 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009094/41.85, allocations: 5.517 MB / 6.693 GB, free: 29.54 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002243/41.85, allocations: 1.127 MB / 6.695 GB, free: 28.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/41.85, allocations: 0 / 6.695 GB, free: 28.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004448/41.85, allocations: 495.8 kB / 6.695 GB, free: 28.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/41.86, allocations: 1.462 MB / 6.696 GB, free: 28.47 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00572/41.86, allocations: 3.552 MB / 6.7 GB, free: 25.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/41.87, allocations: 2.351 MB / 6.702 GB, free: 25.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/41.87, allocations: 13.44 kB / 6.702 GB, free: 25.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.05416/41.93, allocations: 5.907 MB / 6.708 GB, free: 25.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.02356/41.95, allocations: 31.14 MB / 6.738 GB, free: 8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003324/41.95, allocations: 52.72 kB / 6.739 GB, free: 8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/41.95, allocations: 494.3 kB / 6.739 GB, free: 7.922 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/41.96, allocations: 1.115 MB / 6.74 GB, free: 7.922 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/41.98, allocations: 8.221 MB / 6.748 GB, free: 17.22 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02078/42, allocations: 0.6074 MB / 6.749 GB, free: 17.12 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/42, allocations: 270.1 kB / 6.749 GB, free: 17.12 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/42, allocations: 4.5 kB / 6.749 GB, free: 17.12 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08214/42.08, allocations: 4.706 MB / 6.754 GB, free: 16.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000289/42.08, allocations: 53.69 kB / 6.754 GB, free: 16.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/42.09, allocations: 492.6 kB / 6.754 GB, free: 16.82 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01188/42.1, allocations: 1.086 MB / 6.755 GB, free: 16.81 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/42.11, allocations: 8.226 MB / 6.763 GB, free: 10.09 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01884/42.13, allocations: 0.597 MB / 6.764 GB, free: 9.984 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/42.13, allocations: 254 kB / 6.764 GB, free: 9.984 MB / 1.182 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.003407/42.14, allocations: 304.3 kB / 6.764 GB, free: 9.84 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004287/42.14, allocations: 0.964 MB / 6.765 GB, free: 9.324 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02455/42.16, allocations: 4.93 MB / 6.77 GB, free: 8.922 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.095e-05/42.16, allocations: 41.41 kB / 6.77 GB, free: 8.922 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/42.16, allocations: 4.344 kB / 6.77 GB, free: 8.922 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01315/42.18, allocations: 3.437 MB / 6.773 GB, free: 8.68 MB / 1.182 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.0456/42.22, allocations: 11.31 MB / 6.784 GB, free: 8.008 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/42.22, allocations: 0 / 6.784 GB, free: 8.008 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006782/42.23, allocations: 0.7025 MB / 6.785 GB, free: 8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/42.23, allocations: 419 kB / 6.786 GB, free: 7.918 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009885/42.23, allocations: 73.91 kB / 6.786 GB, free: 7.914 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/42.24, allocations: 8.113 MB / 6.794 GB, free: 17.19 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/42.24, allocations: 2.188 kB / 6.794 GB, free: 17.19 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02594/42.27, allocations: 6.773 MB / 6.8 GB, free: 16.09 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01549/42.28, allocations: 1.707 MB / 6.802 GB, free: 15.46 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005981/42.29, allocations: 12.88 kB / 6.802 GB, free: 15.46 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01764/42.31, allocations: 0.5807 MB / 6.802 GB, free: 15.38 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001761/42.31, allocations: 225.6 kB / 6.803 GB, free: 15.37 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00182/42.31, allocations: 189 kB / 6.803 GB, free: 15.37 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.02444/42.34, allocations: 5.712 MB / 6.808 GB, free: 15.08 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.242e-06/42.34, allocations: 0 / 6.808 GB, free: 15.08 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.04054/42.38, allocations: 5.528 MB / 6.814 GB, free: 14.2 MB / 1.198 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.02068/42.4, allocations: 6.548 MB / 6.82 GB, free: 10.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.02713/42.42, allocations: 7.248 MB / 6.827 GB, free: 9.871 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/42.42, allocations: 2.812 kB / 6.827 GB, free: 9.871 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.008036/42.43, allocations: 2.081 MB / 6.829 GB, free: 9.578 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08895/42.52, allocations: 4.698 MB / 6.834 GB, free: 9.297 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06077/42.58, allocations: 14.52 MB / 6.848 GB, free: 5.254 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01455/42.6, allocations: 5.667 MB / 6.854 GB, free: 4.188 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03912/42.64, allocations: 3.745 MB / 6.857 GB, free: 3.691 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002927/42.64, allocations: 0.5546 MB / 6.858 GB, free: 3.676 MB / 1.198 GB Notification: Performance of SimCode: time 1.383e-06/42.64, allocations: 3.031 kB / 6.858 GB, free: 3.676 MB / 1.198 GB Notification: Performance of Templates: time 2.184/44.82, allocations: 192.1 MB / 7.045 GB, free: 119.6 MB / 1.214 GB