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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.104/4.104, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.785e-05, allocations: 4 kB / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.508, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.652, allocations: 426 MB / 1.045 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.652, allocations: 92.45 kB / 1.045 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.989/4.641, allocations: 0.6649 GB / 1.71 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.55e-06/4.641, allocations: 0 / 1.71 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002454/4.642, allocations: 39.98 kB / 1.71 GB, free: 4.945 MB / 0.8073 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.00408/4.646, allocations: 1.708 MB / 1.712 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/4.646, allocations: 12.03 kB / 1.712 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/4.648, allocations: 385.6 kB / 1.712 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02577/4.674, allocations: 8.297 MB / 1.72 GB, free: 10.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/4.674, allocations: 32 kB / 1.72 GB, free: 10.33 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/4.675, allocations: 52 kB / 1.72 GB, free: 10.28 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/4.676, allocations: 0.6054 MB / 1.721 GB, free: 9.676 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/4.679, allocations: 0.8399 MB / 1.722 GB, free: 8.785 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/4.679, allocations: 0 / 1.722 GB, free: 8.785 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/4.679, allocations: 11.94 kB / 1.722 GB, free: 8.773 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/4.679, allocations: 23.95 kB / 1.722 GB, free: 8.75 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.00925/4.688, allocations: 4.553 MB / 1.726 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/4.689, allocations: 456.1 kB / 1.727 GB, free: 3.492 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/4.69, allocations: 217.2 kB / 1.727 GB, free: 3.277 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003499/4.693, allocations: 1.619 MB / 1.728 GB, free: 1.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007486/4.694, allocations: 344 kB / 1.729 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006792/4.695, allocations: 59.5 kB / 1.729 GB, free: 1.062 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 5.179e-06/4.695, allocations: 0 / 1.729 GB, free: 1.062 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.002711/4.698, allocations: 0.6582 MB / 1.729 GB, free: 400 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/4.698, allocations: 114.8 kB / 1.729 GB, free: 260 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5087/5.207, allocations: 0.9625 MB / 1.73 GB, free: 129.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/5.207, allocations: 28.94 kB / 1.73 GB, free: 129.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007934/5.208, allocations: 0.6691 MB / 1.731 GB, free: 129.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/5.208, allocations: 142.2 kB / 1.731 GB, free: 129.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/5.208, allocations: 3.375 kB / 1.731 GB, free: 129.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/5.208, allocations: 330.9 kB / 1.732 GB, free: 129 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/5.208, allocations: 198 kB / 1.732 GB, free: 129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/5.209, allocations: 486.1 kB / 1.732 GB, free: 128.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/5.211, allocations: 337.9 kB / 1.733 GB, free: 128.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/5.211, allocations: 6.469 kB / 1.733 GB, free: 128.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002885/5.214, allocations: 0.8387 MB / 1.733 GB, free: 128.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005833/5.214, allocations: 2.772 MB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/5.214, allocations: 10.27 kB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/5.215, allocations: 75.75 kB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/5.216, allocations: 157.7 kB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008856/5.217, allocations: 1.14 MB / 1.737 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/5.218, allocations: 69.94 kB / 1.737 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/5.218, allocations: 47.36 kB / 1.738 GB, free: 124.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/5.218, allocations: 4 kB / 1.738 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/5.221, allocations: 0.668 MB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/5.221, allocations: 6.969 kB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/5.221, allocations: 76.84 kB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/5.222, allocations: 149.6 kB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008057/5.223, allocations: 1.143 MB / 1.74 GB, free: 123.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/5.224, allocations: 70.14 kB / 1.74 GB, free: 123.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/5.224, allocations: 38.78 kB / 1.74 GB, free: 123.6 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0003603/5.225, allocations: 175.9 kB / 1.74 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/5.225, allocations: 124.7 kB / 1.74 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/5.228, allocations: 0.7856 MB / 1.741 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/5.228, allocations: 9.406 kB / 1.741 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/5.228, allocations: 0.5625 kB / 1.741 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/5.228, allocations: 5.625 kB / 1.741 GB, free: 123.3 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.004648/5.233, allocations: 1.74 MB / 1.742 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/5.233, allocations: 6.953 kB / 1.742 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/5.233, allocations: 96.77 kB / 1.742 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002908/5.234, allocations: 73.84 kB / 1.743 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/5.234, allocations: 10.31 kB / 1.743 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007786/5.234, allocations: 1.128 MB / 1.744 GB, free: 121.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/5.234, allocations: 1.953 kB / 1.744 GB, free: 121.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/5.237, allocations: 0.9218 MB / 1.745 GB, free: 121.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/5.237, allocations: 280.6 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/5.238, allocations: 8.016 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/5.239, allocations: 79.91 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/5.239, allocations: 39.44 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/5.239, allocations: 33.84 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001529/5.241, allocations: 0.7388 MB / 1.746 GB, free: 121.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.96e-07/5.241, allocations: 0 / 1.746 GB, free: 121.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00337/5.244, allocations: 0.7317 MB / 1.746 GB, free: 121.2 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.002175/5.246, allocations: 0.9642 MB / 1.747 GB, free: 121 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002448/5.249, allocations: 1.067 MB / 1.748 GB, free: 120.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.668e-06/5.249, allocations: 0 / 1.748 GB, free: 120.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/5.25, allocations: 363.8 kB / 1.749 GB, free: 120.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/5.253, allocations: 0.5369 MB / 1.749 GB, free: 120.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/5.257, allocations: 1.584 MB / 1.751 GB, free: 120.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/5.258, allocations: 1.233 MB / 1.752 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002817/5.261, allocations: 397.4 kB / 1.752 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/5.261, allocations: 77.14 kB / 1.752 GB, free: 119.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.91e-06/5.261, allocations: 0 / 1.752 GB, free: 119.6 MB / 0.823 GB Notification: Performance of Templates: time 0.06194/5.323, allocations: 27.75 MB / 1.78 GB, free: 119 MB / 0.823 GB