Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.242/2.242, allocations: 252.6 MB / 265.2 MB, free: 5.746 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.001492/0.001492, allocations: 183.8 kB / 324.5 MB, free: 14.44 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.079/2.079, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001062/0.001061, allocations: 109.7 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.406e-05, allocations: 8 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 106.2 MB / 0.8949 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.971/2.186, allocations: 435.3 MB / 1.32 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/2.187, allocations: 93.14 kB / 1.32 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.48/5.666, allocations: 0.6744 GB / 1.994 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.614e-06/5.666, allocations: 3.719 kB / 1.994 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002692/5.667, allocations: 40.38 kB / 1.994 GB, free: 164.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005173/5.672, allocations: 1.711 MB / 1.996 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/5.672, allocations: 9.75 kB / 1.996 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/5.675, allocations: 347.2 kB / 1.996 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02807/5.703, allocations: 8.376 MB / 2.005 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/5.703, allocations: 69.12 kB / 2.005 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/5.703, allocations: 85.22 kB / 2.005 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/5.706, allocations: 0.9755 MB / 2.006 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/5.706, allocations: 6.875 kB / 2.006 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/5.706, allocations: 32.41 kB / 2.006 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/5.706, allocations: 22.09 kB / 2.006 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/5.708, allocations: 0.655 MB / 2.006 GB, free: 162.9 MB / 0.8698 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.009531/5.717, allocations: 4.736 MB / 2.011 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/5.719, allocations: 433.3 kB / 2.012 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/5.719, allocations: 236.8 kB / 2.012 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003474/5.723, allocations: 1.677 MB / 2.013 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/5.724, allocations: 387.2 kB / 2.014 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008243/5.724, allocations: 79.83 kB / 2.014 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/5.724, allocations: 0 / 2.014 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001938/5.726, allocations: 0.6706 MB / 2.014 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/5.726, allocations: 106.5 kB / 2.015 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/5.729, allocations: 1.107 MB / 2.016 GB, free: 159 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/5.729, allocations: 38.61 kB / 2.016 GB, free: 159 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007166/5.73, allocations: 0.647 MB / 2.016 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/5.73, allocations: 157 kB / 2.016 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/5.73, allocations: 14.94 kB / 2.016 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/5.73, allocations: 328.5 kB / 2.017 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/5.731, allocations: 207.4 kB / 2.017 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/5.731, allocations: 496.8 kB / 2.017 GB, free: 158 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/5.732, allocations: 296.6 kB / 2.018 GB, free: 158 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/5.732, allocations: 6.844 kB / 2.018 GB, free: 158 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002331/5.734, allocations: 0.9075 MB / 2.019 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006283/5.735, allocations: 2.784 MB / 2.021 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/5.735, allocations: 7.656 kB / 2.021 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005385/5.736, allocations: 84.77 kB / 2.021 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/5.737, allocations: 159.1 kB / 2.022 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007493/5.738, allocations: 1.122 MB / 2.023 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/5.739, allocations: 91.33 kB / 2.023 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/5.74, allocations: 41.66 kB / 2.023 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/5.74, allocations: 9.703 kB / 2.023 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/5.742, allocations: 0.7522 MB / 2.024 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/5.742, allocations: 7.812 kB / 2.024 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/5.742, allocations: 86.17 kB / 2.024 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/5.743, allocations: 149.5 kB / 2.024 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006873/5.744, allocations: 1.132 MB / 2.025 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/5.745, allocations: 81.78 kB / 2.025 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/5.746, allocations: 39.84 kB / 2.025 GB, free: 152.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003423/5.746, allocations: 188.7 kB / 2.025 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/5.746, allocations: 139.3 kB / 2.025 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/5.749, allocations: 0.8933 MB / 2.026 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/5.749, allocations: 15 kB / 2.026 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/5.749, allocations: 2.938 kB / 2.026 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/5.749, allocations: 0 / 2.026 GB, free: 152.5 MB / 0.8698 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.004947/5.754, allocations: 1.987 MB / 2.028 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/5.754, allocations: 3.953 kB / 2.028 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/5.755, allocations: 98.67 kB / 2.028 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/5.755, allocations: 78.39 kB / 2.028 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/5.755, allocations: 23.23 kB / 2.028 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007142/5.756, allocations: 1.111 MB / 2.029 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/5.756, allocations: 6.344 kB / 2.029 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/5.758, allocations: 1.052 MB / 2.03 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009002/5.759, allocations: 298.7 kB / 2.031 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/5.76, allocations: 19.19 kB / 2.031 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/5.761, allocations: 81.75 kB / 2.031 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/5.762, allocations: 43.56 kB / 2.031 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/5.762, allocations: 32.38 kB / 2.031 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001872/5.764, allocations: 0.8565 MB / 2.032 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.82e-07/5.764, allocations: 0 / 2.032 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004007/5.768, allocations: 0.7584 MB / 2.033 GB, free: 150 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002572/5.77, allocations: 1.009 MB / 2.034 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002824/5.773, allocations: 1.116 MB / 2.035 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/5.773, allocations: 3.562 kB / 2.035 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000842/5.774, allocations: 366.5 kB / 2.035 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/5.779, allocations: 0.6226 MB / 2.036 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/5.784, allocations: 1.661 MB / 2.037 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009004/5.785, allocations: 1.233 MB / 2.038 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003221/5.788, allocations: 416.5 kB / 2.039 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/5.789, allocations: 89.53 kB / 2.039 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/5.789, allocations: 0 / 2.039 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.08674/5.875, allocations: 35.05 MB / 2.073 GB, free: 146.6 MB / 0.8698 GB