Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008958/0.008958, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001157/0.001157, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.047/2.047, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.212/2.212, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007594/0.0007595, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5442, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.581, allocations: 426.7 MB / 1.1 GB, free: 26 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004359/1.581, allocations: 103.3 kB / 1.1 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.968/4.549, allocations: 0.6705 GB / 1.771 GB, free: 87.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.487e-06/4.549, allocations: 0 / 1.771 GB, free: 87.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002546/4.549, allocations: 43.92 kB / 1.771 GB, free: 87.34 MB / 0.823 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.006323/4.555, allocations: 2.122 MB / 1.773 GB, free: 85.14 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/4.556, allocations: 8.031 kB / 1.773 GB, free: 85.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/4.558, allocations: 389.7 kB / 1.773 GB, free: 84.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/4.581, allocations: 8.379 MB / 1.781 GB, free: 76.28 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/4.581, allocations: 70 kB / 1.781 GB, free: 76.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/4.582, allocations: 88 kB / 1.781 GB, free: 76.12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/4.584, allocations: 1.023 MB / 1.782 GB, free: 75.05 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/4.584, allocations: 3.938 kB / 1.782 GB, free: 75.04 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/4.584, allocations: 32 kB / 1.783 GB, free: 75.01 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/4.584, allocations: 20 kB / 1.783 GB, free: 74.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/4.587, allocations: 0.769 MB / 1.783 GB, free: 74.22 MB / 0.823 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.007738/4.594, allocations: 4.718 MB / 1.788 GB, free: 69.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/4.596, allocations: 0.5301 MB / 1.788 GB, free: 68.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002905/4.599, allocations: 1.646 MB / 1.79 GB, free: 66.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/4.6, allocations: 420.6 kB / 1.79 GB, free: 66.44 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000675/4.601, allocations: 83.39 kB / 1.791 GB, free: 66.36 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.308e-06/4.601, allocations: 0 / 1.791 GB, free: 66.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.005692/4.607, allocations: 1.251 MB / 1.792 GB, free: 65.03 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/4.607, allocations: 114.8 kB / 1.792 GB, free: 64.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/4.61, allocations: 1.11 MB / 1.793 GB, free: 63.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/4.61, allocations: 37.7 kB / 1.793 GB, free: 63.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006444/4.611, allocations: 0.6571 MB / 1.794 GB, free: 63.07 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/4.611, allocations: 153.8 kB / 1.794 GB, free: 62.92 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/4.611, allocations: 12 kB / 1.794 GB, free: 62.91 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/4.611, allocations: 333.9 kB / 1.794 GB, free: 62.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/4.612, allocations: 261.1 kB / 1.794 GB, free: 62.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009826/4.613, allocations: 0.5327 MB / 1.795 GB, free: 61.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/4.614, allocations: 359.4 kB / 1.795 GB, free: 61.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.515e-06/4.614, allocations: 3.953 kB / 1.795 GB, free: 61.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003046/4.617, allocations: 0.9751 MB / 1.796 GB, free: 60.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006008/4.618, allocations: 2.782 MB / 1.799 GB, free: 57.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/4.618, allocations: 8 kB / 1.799 GB, free: 57.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/4.618, allocations: 85.69 kB / 1.799 GB, free: 57.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/4.619, allocations: 155.8 kB / 1.799 GB, free: 57.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000746/4.62, allocations: 1.132 MB / 1.8 GB, free: 55.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/4.622, allocations: 87.94 kB / 1.8 GB, free: 55.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/4.622, allocations: 47.95 kB / 1.8 GB, free: 55.79 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/4.622, allocations: 5.719 kB / 1.8 GB, free: 55.79 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002346/4.624, allocations: 0.8151 MB / 1.801 GB, free: 54.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/4.624, allocations: 8 kB / 1.801 GB, free: 54.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/4.625, allocations: 77.69 kB / 1.801 GB, free: 54.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/4.625, allocations: 160.3 kB / 1.801 GB, free: 54.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006405/4.626, allocations: 1.124 MB / 1.802 GB, free: 53.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/4.627, allocations: 76.06 kB / 1.803 GB, free: 53.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/4.628, allocations: 43.98 kB / 1.803 GB, free: 53.42 MB / 0.823 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 (69): * Single equations (assignments): 65 * 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.00108/4.629, allocations: 499 kB / 1.803 GB, free: 52.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/4.629, allocations: 134.3 kB / 1.803 GB, free: 52.79 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/4.633, allocations: 0.9552 MB / 1.804 GB, free: 51.81 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/4.633, allocations: 4 kB / 1.804 GB, free: 51.81 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/4.633, allocations: 3.984 kB / 1.804 GB, free: 51.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/4.633, allocations: 4 kB / 1.804 GB, free: 51.8 MB / 0.823 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.005808/4.639, allocations: 1.983 MB / 1.806 GB, free: 49.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/4.639, allocations: 7.984 kB / 1.806 GB, free: 49.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/4.64, allocations: 91.92 kB / 1.806 GB, free: 49.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/4.64, allocations: 77.69 kB / 1.806 GB, free: 49.55 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/4.64, allocations: 16.08 kB / 1.806 GB, free: 49.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008709/4.641, allocations: 1.124 MB / 1.807 GB, free: 48.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-06/4.641, allocations: 0 / 1.807 GB, free: 48.36 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/4.644, allocations: 1.076 MB / 1.808 GB, free: 47.23 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/4.645, allocations: 287.2 kB / 1.809 GB, free: 46.93 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/4.645, allocations: 12 kB / 1.809 GB, free: 46.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/4.647, allocations: 87.83 kB / 1.809 GB, free: 46.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/4.647, allocations: 35.94 kB / 1.809 GB, free: 46.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/4.647, allocations: 31.92 kB / 1.809 GB, free: 46.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00209/4.649, allocations: 0.8754 MB / 1.81 GB, free: 45.89 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.002e-06/4.649, allocations: 0 / 1.81 GB, free: 45.89 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003366/4.653, allocations: 0.7447 MB / 1.81 GB, free: 45.15 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (42): * Single equations (assignments): 35 * 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.001949/4.655, allocations: 1.006 MB / 1.811 GB, free: 44.16 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00334/4.658, allocations: 1.234 MB / 1.813 GB, free: 42.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.071e-06/4.658, allocations: 0 / 1.813 GB, free: 42.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/4.659, allocations: 429 kB / 1.813 GB, free: 42.47 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/4.663, allocations: 0.6168 MB / 1.814 GB, free: 41.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/4.668, allocations: 2.629 MB / 1.816 GB, free: 39.19 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/4.668, allocations: 1.237 MB / 1.817 GB, free: 37.92 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001985/4.67, allocations: 286.3 kB / 1.818 GB, free: 37.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/4.671, allocations: 103.4 kB / 1.818 GB, free: 37.54 MB / 0.823 GB Notification: Performance of SimCode: time 1.783e-06/4.671, allocations: 0 / 1.818 GB, free: 37.54 MB / 0.823 GB Notification: Performance of Templates: time 0.06551/4.736, allocations: 30.81 MB / 1.848 GB, free: 7.156 MB / 0.823 GB