Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.045/4.045, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.934e-05, allocations: 3.109 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2024, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9815/1.184, allocations: 426.7 MB / 1.051 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.184, allocations: 95.38 kB / 1.052 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.899/4.083, allocations: 0.6683 GB / 1.72 GB, free: 10.58 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.039e-06/4.083, allocations: 4 kB / 1.72 GB, free: 10.58 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002216/4.084, allocations: 43.86 kB / 1.72 GB, free: 10.54 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.004011/4.088, allocations: 1.715 MB / 1.722 GB, free: 8.758 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/4.088, allocations: 8.031 kB / 1.722 GB, free: 8.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/4.09, allocations: 390.3 kB / 1.722 GB, free: 8.367 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.527/4.617, allocations: 8.31 MB / 1.73 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/4.617, allocations: 64.41 kB / 1.73 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/4.618, allocations: 90.88 kB / 1.73 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/4.62, allocations: 0.9509 MB / 1.731 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/4.62, allocations: 6 kB / 1.731 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/4.62, allocations: 32.36 kB / 1.731 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/4.62, allocations: 19.84 kB / 1.731 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/4.622, allocations: 0.6448 MB / 1.732 GB, free: 120.2 MB / 0.823 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.009189/4.631, allocations: 4.713 MB / 1.736 GB, free: 118 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/4.633, allocations: 440.7 kB / 1.737 GB, free: 118 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/4.633, allocations: 220.9 kB / 1.737 GB, free: 118 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003366/4.637, allocations: 1.655 MB / 1.739 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007861/4.638, allocations: 357.2 kB / 1.739 GB, free: 116.8 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007876/4.638, allocations: 84.55 kB / 1.739 GB, free: 116.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.913e-06/4.638, allocations: 2.719 kB / 1.739 GB, free: 116.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.001903/4.64, allocations: 0.6261 MB / 1.74 GB, free: 116.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/4.64, allocations: 111.5 kB / 1.74 GB, free: 116.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/4.643, allocations: 1.103 MB / 1.741 GB, free: 116.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/4.643, allocations: 39.52 kB / 1.741 GB, free: 116.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/4.644, allocations: 0.6572 MB / 1.742 GB, free: 116.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/4.644, allocations: 150.2 kB / 1.742 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/4.644, allocations: 12.06 kB / 1.742 GB, free: 116.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.3e-05/4.644, allocations: 332.9 kB / 1.742 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/4.645, allocations: 203.6 kB / 1.742 GB, free: 115.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/4.646, allocations: 486.7 kB / 1.743 GB, free: 115.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/4.646, allocations: 293.3 kB / 1.743 GB, free: 115.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.803e-06/4.646, allocations: 2 kB / 1.743 GB, free: 115.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002315/4.649, allocations: 0.8516 MB / 1.744 GB, free: 115.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006161/4.649, allocations: 2.788 MB / 1.747 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/4.649, allocations: 8.422 kB / 1.747 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/4.65, allocations: 93.08 kB / 1.747 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/4.651, allocations: 155.1 kB / 1.747 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000717/4.652, allocations: 1.13 MB / 1.748 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/4.653, allocations: 84.7 kB / 1.748 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/4.653, allocations: 47.84 kB / 1.748 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/4.653, allocations: 4.125 kB / 1.748 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/4.655, allocations: 0.699 MB / 1.749 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/4.655, allocations: 8.422 kB / 1.749 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/4.656, allocations: 88.41 kB / 1.749 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/4.657, allocations: 147.6 kB / 1.749 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/4.657, allocations: 1.13 MB / 1.75 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/4.659, allocations: 73.98 kB / 1.75 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/4.659, allocations: 43.5 kB / 1.75 GB, free: 110.2 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 () * 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.0003391/4.659, allocations: 185.9 kB / 1.75 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/4.66, allocations: 136.4 kB / 1.75 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/4.662, allocations: 0.8234 MB / 1.751 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/4.662, allocations: 11.66 kB / 1.751 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.579e-06/4.662, allocations: 0.5625 kB / 1.751 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/4.662, allocations: 6.609 kB / 1.751 GB, free: 109.9 MB / 0.823 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.004717/4.667, allocations: 1.868 MB / 1.753 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/4.667, allocations: 0.9062 kB / 1.753 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/4.667, allocations: 98.56 kB / 1.753 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/4.668, allocations: 79.84 kB / 1.753 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/4.668, allocations: 19.7 kB / 1.753 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/4.669, allocations: 1.117 MB / 1.754 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.071e-06/4.669, allocations: 0.7188 kB / 1.754 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/4.671, allocations: 0.9465 MB / 1.755 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007358/4.671, allocations: 300.4 kB / 1.756 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/4.672, allocations: 15.64 kB / 1.756 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/4.673, allocations: 77.89 kB / 1.756 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/4.673, allocations: 33.48 kB / 1.756 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/4.673, allocations: 36.16 kB / 1.756 GB, free: 107.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001842/4.675, allocations: 0.8593 MB / 1.757 GB, free: 107.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.005e-06/4.675, allocations: 1.594 kB / 1.757 GB, free: 107.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003378/4.678, allocations: 0.7526 MB / 1.757 GB, free: 107.7 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) * 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.002208/4.681, allocations: 1.008 MB / 1.758 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002728/4.683, allocations: 1.1 MB / 1.759 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.645e-06/4.684, allocations: 1.062 kB / 1.759 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008018/4.684, allocations: 363 kB / 1.76 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/4.688, allocations: 0.6173 MB / 1.76 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/4.693, allocations: 1.628 MB / 1.762 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/4.694, allocations: 1.233 MB / 1.763 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002962/4.697, allocations: 428 kB / 1.764 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/4.697, allocations: 79.89 kB / 1.764 GB, free: 106.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.153e-06/4.697, allocations: 0 / 1.764 GB, free: 106.1 MB / 0.823 GB Notification: Performance of Templates: time 0.0763/4.774, allocations: 34.87 MB / 1.798 GB, free: 105.3 MB / 0.823 GB