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.356/2.356, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001495, allocations: 181.2 kB / 325.6 MB, free: 2.809 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.383/2.383, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001146/0.001146, allocations: 95.25 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004788, allocations: 9.031 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/1.607, allocations: 478.8 MB / 1.366 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/1.608, allocations: 90.77 kB / 1.367 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 30.11/31.71, allocations: 5.254 GB / 6.621 GB, free: 45.37 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.966e-06/31.71, allocations: 0 / 6.621 GB, free: 45.37 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002726/31.72, allocations: 321.1 kB / 6.621 GB, free: 45.29 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.05937/31.78, allocations: 13.69 MB / 6.634 GB, free: 38.88 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/31.78, allocations: 11.88 kB / 6.634 GB, free: 38.88 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02141/31.8, allocations: 2.476 MB / 6.637 GB, free: 38.1 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07904/31.88, allocations: 19.16 MB / 6.655 GB, free: 35.36 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/31.88, allocations: 0.5678 MB / 6.656 GB, free: 35.34 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003681/31.88, allocations: 0.7382 MB / 6.657 GB, free: 35.34 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/31.92, allocations: 8.522 MB / 6.665 GB, free: 33.11 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005702/31.92, allocations: 29.81 kB / 6.665 GB, free: 33.09 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003332/31.92, allocations: 298.5 kB / 6.665 GB, free: 32.87 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002625/31.92, allocations: 198.4 kB / 6.665 GB, free: 32.86 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/31.95, allocations: 6.381 MB / 6.672 GB, free: 29.47 MB / 1.135 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.1001/32.05, allocations: 46.2 MB / 6.717 GB, free: 15.07 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/32.07, allocations: 4.03 MB / 6.721 GB, free: 11.07 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03468/32.1, allocations: 9.438 MB / 6.73 GB, free: 0.9727 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213/33.32, allocations: 2.128 MB / 6.732 GB, free: 84.04 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009685/33.33, allocations: 0.6212 MB / 6.733 GB, free: 84.04 MB / 1.167 GB Notification: Performance of pre-optimization done (n=341): time 4.227e-05/33.33, allocations: 0.7969 kB / 6.733 GB, free: 84.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=341): time 0.035/33.36, allocations: 7.141 MB / 6.74 GB, free: 82.85 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/33.36, allocations: 88.62 kB / 6.74 GB, free: 82.78 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02887/33.39, allocations: 8.334 MB / 6.748 GB, free: 82.27 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001398/33.39, allocations: 118 kB / 6.748 GB, free: 82.23 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009911/33.4, allocations: 5.551 MB / 6.753 GB, free: 81.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002721/33.41, allocations: 1.174 MB / 6.755 GB, free: 81.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007248/33.41, allocations: 96.67 kB / 6.755 GB, free: 81.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004971/33.41, allocations: 498.6 kB / 6.755 GB, free: 80.78 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00808/33.42, allocations: 1.699 MB / 6.757 GB, free: 80.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009722/33.42, allocations: 3.841 MB / 6.761 GB, free: 78.14 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00932/33.43, allocations: 2.301 MB / 6.763 GB, free: 78.08 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.172e-05/33.43, allocations: 18.31 kB / 6.763 GB, free: 78.08 MB / 1.167 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02688/33.46, allocations: 6.434 MB / 6.769 GB, free: 77.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006837/33.47, allocations: 31.38 MB / 6.8 GB, free: 44.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/33.47, allocations: 54 kB / 6.8 GB, free: 44.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/33.47, allocations: 0.5343 MB / 6.8 GB, free: 44.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008942/33.48, allocations: 1.117 MB / 6.801 GB, free: 44.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007535/33.49, allocations: 8.362 MB / 6.81 GB, free: 37.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/33.5, allocations: 0.7143 MB / 6.81 GB, free: 37.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/33.5, allocations: 274.6 kB / 6.81 GB, free: 37.29 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/33.5, allocations: 2.406 kB / 6.811 GB, free: 37.29 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02143/33.53, allocations: 5.389 MB / 6.816 GB, free: 37.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/33.53, allocations: 51.34 kB / 6.816 GB, free: 37.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/33.53, allocations: 0.5307 MB / 6.816 GB, free: 37.03 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008483/33.54, allocations: 1.084 MB / 6.817 GB, free: 37.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00754/33.54, allocations: 8.359 MB / 6.826 GB, free: 30.22 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/33.56, allocations: 0.6981 MB / 6.826 GB, free: 30.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/33.56, allocations: 255.9 kB / 6.826 GB, free: 30.2 MB / 1.167 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 (582): * Single equations (assignments): 568 * 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.01016/33.57, allocations: 2.569 MB / 6.829 GB, free: 30 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003614/33.57, allocations: 0.9744 MB / 6.83 GB, free: 29.48 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02425/33.6, allocations: 5.433 MB / 6.835 GB, free: 29.13 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.729e-05/33.6, allocations: 46.3 kB / 6.835 GB, free: 29.13 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/33.6, allocations: 2.688 kB / 6.835 GB, free: 29.13 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01655/33.62, allocations: 3.863 MB / 6.839 GB, free: 28.89 MB / 1.167 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.05181/33.67, allocations: 12.63 MB / 6.851 GB, free: 28.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/33.67, allocations: 2.875 kB / 6.851 GB, free: 28.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00685/33.67, allocations: 0.7116 MB / 6.852 GB, free: 28.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/33.68, allocations: 462.9 kB / 6.853 GB, free: 28.06 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009047/33.68, allocations: 111.4 kB / 6.853 GB, free: 28.06 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008034/33.69, allocations: 8.267 MB / 6.861 GB, free: 37.25 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/33.69, allocations: 2.469 kB / 6.861 GB, free: 37.25 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02857/33.71, allocations: 7.461 MB / 6.868 GB, free: 36.15 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008339/33.72, allocations: 1.713 MB / 6.87 GB, free: 35.53 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003855/33.73, allocations: 73.47 kB / 6.87 GB, free: 35.53 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01343/33.74, allocations: 0.6452 MB / 6.87 GB, free: 35.51 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/33.74, allocations: 230.9 kB / 6.871 GB, free: 35.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008152/33.74, allocations: 186.2 kB / 6.871 GB, free: 35.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02024/33.76, allocations: 6.401 MB / 6.877 GB, free: 35.22 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.71e-07/33.76, allocations: 0 / 6.877 GB, free: 35.22 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0335/33.8, allocations: 5.749 MB / 6.883 GB, free: 34.89 MB / 1.182 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 (344): * Single equations (assignments): 313 * 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.0165/33.81, allocations: 6.845 MB / 6.889 GB, free: 32.08 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02828/33.84, allocations: 7.827 MB / 6.897 GB, free: 31.52 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/33.84, allocations: 0 / 6.897 GB, free: 31.52 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00877/33.85, allocations: 2.352 MB / 6.899 GB, free: 31.27 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0398/33.89, allocations: 4.855 MB / 6.904 GB, free: 31.18 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06299/33.95, allocations: 21.85 MB / 6.925 GB, free: 21.41 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01481/33.97, allocations: 5.648 MB / 6.931 GB, free: 20.37 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02301/33.99, allocations: 2.58 MB / 6.933 GB, free: 20.01 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004686/34, allocations: 0.7496 MB / 6.934 GB, free: 20.01 MB / 1.182 GB Notification: Performance of SimCode: time 1.633e-06/34, allocations: 7.375 kB / 6.934 GB, free: 20 MB / 1.182 GB Notification: Performance of Templates: time 0.552/34.55, allocations: 209.3 MB / 7.138 GB, free: 8.938 MB / 1.214 GB