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.386/2.386, allocations: 252.6 MB / 265.2 MB, free: 5.66 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.001521/0.001521, allocations: 179.9 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 0.5753 GB, free: 10.47 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.001162/0.001162, allocations: 89.59 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.694e-05, allocations: 11.94 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.961/2.177, allocations: 478.7 MB / 1.362 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/2.177, allocations: 86.27 kB / 1.362 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 39.52/41.7, allocations: 5.238 GB / 6.6 GB, free: 60.68 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.717e-06/41.7, allocations: 6.328 kB / 6.6 GB, free: 60.68 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003227/41.7, allocations: 323.4 kB / 6.6 GB, free: 60.63 MB / 1.151 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.0735/41.77, allocations: 10.62 MB / 6.611 GB, free: 56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/41.77, allocations: 10.75 kB / 6.611 GB, free: 56 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07661/41.85, allocations: 2.479 MB / 6.613 GB, free: 55.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1043/41.95, allocations: 19.06 MB / 6.632 GB, free: 53.26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/41.95, allocations: 0.5548 MB / 6.632 GB, free: 53.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003894/41.96, allocations: 0.7437 MB / 6.633 GB, free: 53.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/41.99, allocations: 8.244 MB / 6.641 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004967/41.99, allocations: 20.81 kB / 6.641 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003344/42, allocations: 303.5 kB / 6.641 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003501/42, allocations: 201.8 kB / 6.642 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/42.02, allocations: 5.925 MB / 6.647 GB, free: 51.96 MB / 1.151 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.1116/42.13, allocations: 46.2 MB / 6.693 GB, free: 25.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/42.15, allocations: 3.654 MB / 6.696 GB, free: 25.91 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005577/42.15, allocations: 2.057 MB / 6.698 GB, free: 25.88 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02987/42.18, allocations: 9.594 MB / 6.707 GB, free: 22.06 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005956/42.19, allocations: 1.941 MB / 6.709 GB, free: 21.96 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008768/42.2, allocations: 0.6241 MB / 6.71 GB, free: 21.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 2.37e-05/42.2, allocations: 2.281 kB / 6.71 GB, free: 21.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.02029/42.22, allocations: 4.175 MB / 6.714 GB, free: 21.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/42.22, allocations: 89.23 kB / 6.714 GB, free: 20.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03373/42.25, allocations: 8.228 MB / 6.722 GB, free: 20.33 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001499/42.25, allocations: 112.3 kB / 6.722 GB, free: 20.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01911/42.27, allocations: 5.564 MB / 6.728 GB, free: 18.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.008264/42.28, allocations: 1.172 MB / 6.729 GB, free: 18.01 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007595/42.28, allocations: 97.11 kB / 6.729 GB, free: 18.01 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004937/42.28, allocations: 489.5 kB / 6.729 GB, free: 17.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02351/42.3, allocations: 1.5 MB / 6.731 GB, free: 17.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02405/42.33, allocations: 3.639 MB / 6.734 GB, free: 15.06 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/42.34, allocations: 2.116 MB / 6.737 GB, free: 14.98 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/42.34, allocations: 15.66 kB / 6.737 GB, free: 14.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02647/42.36, allocations: 6.029 MB / 6.742 GB, free: 14.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01236/42.38, allocations: 31.28 MB / 6.773 GB, free: 13.18 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/42.38, allocations: 52.12 kB / 6.773 GB, free: 13.18 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/42.38, allocations: 0.5323 MB / 6.774 GB, free: 13.09 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/42.39, allocations: 1.113 MB / 6.775 GB, free: 13.09 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/42.4, allocations: 8.303 MB / 6.783 GB, free: 22.28 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01969/42.42, allocations: 0.7081 MB / 6.783 GB, free: 22.23 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/42.42, allocations: 273.3 kB / 6.784 GB, free: 22.23 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/42.42, allocations: 4.438 kB / 6.784 GB, free: 22.23 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02165/42.45, allocations: 5.023 MB / 6.789 GB, free: 22.02 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/42.45, allocations: 51.62 kB / 6.789 GB, free: 22.02 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/42.45, allocations: 0.5238 MB / 6.789 GB, free: 21.94 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/42.46, allocations: 1.083 MB / 6.79 GB, free: 21.93 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008894/42.47, allocations: 8.313 MB / 6.798 GB, free: 15.09 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01372/42.48, allocations: 0.6916 MB / 6.799 GB, free: 15 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/42.48, allocations: 252.9 kB / 6.799 GB, free: 15 MB / 1.198 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 () * 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.002089/42.49, allocations: 449.3 kB / 6.8 GB, free: 14.85 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003652/42.49, allocations: 0.9743 MB / 6.801 GB, free: 14.33 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0174/42.51, allocations: 5.051 MB / 6.806 GB, free: 13.93 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-05/42.51, allocations: 41.94 kB / 6.806 GB, free: 13.93 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/42.51, allocations: 3.016 kB / 6.806 GB, free: 13.93 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01086/42.52, allocations: 3.481 MB / 6.809 GB, free: 13.68 MB / 1.198 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.04261/42.56, allocations: 12.23 MB / 6.821 GB, free: 12.91 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/42.56, allocations: 4.266 kB / 6.821 GB, free: 12.91 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006466/42.57, allocations: 0.7051 MB / 6.822 GB, free: 12.91 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/42.57, allocations: 462.5 kB / 6.822 GB, free: 12.82 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008273/42.57, allocations: 108.2 kB / 6.822 GB, free: 12.82 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008539/42.58, allocations: 8.209 MB / 6.83 GB, free: 5.957 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/42.58, allocations: 256 / 6.83 GB, free: 5.957 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/42.6, allocations: 6.878 MB / 6.837 GB, free: 4.836 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008612/42.61, allocations: 1.71 MB / 6.839 GB, free: 4.207 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003874/42.61, allocations: 74.27 kB / 6.839 GB, free: 4.207 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01377/42.63, allocations: 0.6462 MB / 6.839 GB, free: 4.117 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/42.63, allocations: 226.1 kB / 6.84 GB, free: 4.113 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009015/42.63, allocations: 185.7 kB / 6.84 GB, free: 4.113 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.02106/42.65, allocations: 6.299 MB / 6.846 GB, free: 3.781 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.293e-06/42.65, allocations: 0 / 6.846 GB, free: 3.781 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.03928/42.69, allocations: 5.763 MB / 6.851 GB, free: 2.918 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.02066/42.71, allocations: 6.78 MB / 6.858 GB, free: 15.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.03014/42.74, allocations: 7.609 MB / 6.866 GB, free: 14.34 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/42.74, allocations: 7.719 kB / 6.866 GB, free: 14.34 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.009086/42.75, allocations: 2.152 MB / 6.868 GB, free: 14.02 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07533/42.82, allocations: 4.859 MB / 6.872 GB, free: 13.73 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07153/42.89, allocations: 14.73 MB / 6.887 GB, free: 9.68 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02905/42.92, allocations: 5.666 MB / 6.892 GB, free: 8.613 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.09192/43.02, allocations: 3.799 MB / 6.896 GB, free: 8.113 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01572/43.03, allocations: 0.5627 MB / 6.897 GB, free: 8.098 MB / 1.214 GB Notification: Performance of SimCode: time 1.904e-06/43.03, allocations: 1.094 kB / 6.897 GB, free: 8.098 MB / 1.214 GB Notification: Performance of Templates: time 2.322/45.35, allocations: 227.4 MB / 7.119 GB, free: 124.2 MB / 1.229 GB