Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.864/4.864, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002642/0.002642, allocations: 350.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.201/4.201, allocations: 410.7 MB / 1.113 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002761/0.00276, allocations: 199.4 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005093, allocations: 12 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7111, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.966, allocations: 443 MB / 1.894 GB, free: 95.25 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.967, allocations: 103.1 kB / 1.894 GB, free: 95.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.986/5.953, allocations: 0.6883 GB / 2.582 GB, free: 196.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.584e-06/5.953, allocations: 3.156 kB / 2.582 GB, free: 196.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003089/5.954, allocations: 37.11 kB / 2.582 GB, free: 196.5 MB / 0.948 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.008409/5.962, allocations: 2.14 MB / 2.584 GB, free: 195.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/5.962, allocations: 8.859 kB / 2.584 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/5.965, allocations: 348.5 kB / 2.585 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02591/5.991, allocations: 7.839 MB / 2.592 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/5.991, allocations: 76.73 kB / 2.592 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/5.992, allocations: 90.53 kB / 2.593 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/5.995, allocations: 1.036 MB / 2.594 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/5.995, allocations: 3.562 kB / 2.594 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/5.995, allocations: 40.12 kB / 2.594 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/5.995, allocations: 19.47 kB / 2.594 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/5.999, allocations: 0.7728 MB / 2.594 GB, free: 194.5 MB / 0.948 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.01032/6.009, allocations: 4.69 MB / 2.599 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/6.012, allocations: 0.5191 MB / 2.599 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/6.013, allocations: 295.4 kB / 2.6 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003652/6.017, allocations: 1.661 MB / 2.601 GB, free: 190.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/6.019, allocations: 438.1 kB / 2.602 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008395/6.02, allocations: 83.27 kB / 2.602 GB, free: 190.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/6.02, allocations: 0 / 2.602 GB, free: 190.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.005383/6.025, allocations: 1.244 MB / 2.603 GB, free: 189.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/6.025, allocations: 114.1 kB / 2.603 GB, free: 189.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/6.028, allocations: 1.223 MB / 2.604 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/6.028, allocations: 37.3 kB / 2.604 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008229/6.029, allocations: 0.65 MB / 2.605 GB, free: 188.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/6.029, allocations: 158.3 kB / 2.605 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/6.029, allocations: 11.03 kB / 2.605 GB, free: 188.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/6.029, allocations: 331 kB / 2.606 GB, free: 187.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/6.031, allocations: 266.3 kB / 2.606 GB, free: 187.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/6.032, allocations: 0.5499 MB / 2.606 GB, free: 187.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/6.034, allocations: 362.2 kB / 2.607 GB, free: 187.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/6.034, allocations: 0 / 2.607 GB, free: 187.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00386/6.038, allocations: 1.018 MB / 2.608 GB, free: 186.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/6.038, allocations: 333.9 kB / 2.608 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/6.038, allocations: 11.45 kB / 2.608 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/6.038, allocations: 86.83 kB / 2.608 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/6.04, allocations: 155.4 kB / 2.608 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/6.04, allocations: 1.126 MB / 2.609 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/6.042, allocations: 81.97 kB / 2.609 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/6.042, allocations: 44.77 kB / 2.609 GB, free: 185.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/6.042, allocations: 10.31 kB / 2.609 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/6.046, allocations: 0.8668 MB / 2.61 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/6.046, allocations: 13.42 kB / 2.61 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004441/6.046, allocations: 82.58 kB / 2.61 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/6.047, allocations: 154.2 kB / 2.611 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007409/6.048, allocations: 1.129 MB / 2.612 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/6.05, allocations: 82.77 kB / 2.612 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/6.05, allocations: 47.44 kB / 2.612 GB, free: 184 MB / 0.948 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 () * Number of clocked 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.001204/6.051, allocations: 493.3 kB / 2.612 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/6.051, allocations: 139.7 kB / 2.612 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/6.055, allocations: 1.008 MB / 2.613 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/6.055, allocations: 3.219 kB / 2.613 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/6.055, allocations: 1.938 kB / 2.613 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/6.055, allocations: 11.55 kB / 2.613 GB, free: 183.2 MB / 0.948 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.01096/6.066, allocations: 2.083 MB / 2.615 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/6.066, allocations: 3.688 kB / 2.615 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/6.068, allocations: 106.3 kB / 2.616 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000705/6.069, allocations: 73.48 kB / 2.616 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/6.069, allocations: 25.42 kB / 2.616 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/6.07, allocations: 1.115 MB / 2.617 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/6.07, allocations: 5.031 kB / 2.617 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005469/6.076, allocations: 1.108 MB / 2.618 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/6.077, allocations: 295.3 kB / 2.618 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005958/6.078, allocations: 15.67 kB / 2.618 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/6.08, allocations: 82.2 kB / 2.618 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/6.081, allocations: 32.94 kB / 2.618 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/6.081, allocations: 37.52 kB / 2.618 GB, free: 180.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003048/6.084, allocations: 0.8414 MB / 2.619 GB, free: 179.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.443e-06/6.084, allocations: 0 / 2.619 GB, free: 179.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005713/6.09, allocations: 0.7378 MB / 2.62 GB, free: 179.7 MB / 0.948 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) * Number of clocked states: 0 () * 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.003656/6.093, allocations: 0.9737 MB / 2.621 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006992/6.101, allocations: 1.243 MB / 2.622 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/6.101, allocations: 0 / 2.622 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/6.103, allocations: 441.8 kB / 2.622 GB, free: 178.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/6.109, allocations: 0.6206 MB / 2.623 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/6.115, allocations: 2.656 MB / 2.626 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/6.116, allocations: 1.235 MB / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002406/6.119, allocations: 301 kB / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/6.119, allocations: 103 kB / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.783e-06/6.119, allocations: 0 / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07586/6.195, allocations: 30.37 MB / 2.657 GB, free: 153.5 MB / 0.948 GB