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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01578/0.01578, allocations: 108.5 kB / 15.05 MB, free: 6.078 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.001845/0.001845, allocations: 181.4 kB / 15.95 MB, free: 6 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.268/2.268, 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.225/2.225, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004892, allocations: 8 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6984, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.384/2.083, allocations: 426.7 MB / 1.1 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/2.083, allocations: 96.62 kB / 1.1 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.692/5.776, allocations: 0.6704 GB / 1.771 GB, free: 84.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.845e-06/5.776, allocations: 0 / 1.771 GB, free: 84.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002342/5.776, allocations: 43.92 kB / 1.771 GB, free: 84.53 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.01118/5.787, allocations: 2.13 MB / 1.773 GB, free: 82.34 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.776e-05/5.787, allocations: 12.03 kB / 1.773 GB, free: 82.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000818/5.788, allocations: 135.1 kB / 1.773 GB, free: 82.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005466/5.794, allocations: 386 kB / 1.773 GB, free: 81.81 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02797/5.822, allocations: 8.375 MB / 1.781 GB, free: 73.31 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/5.822, allocations: 70 kB / 1.782 GB, free: 73.24 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/5.822, allocations: 84 kB / 1.782 GB, free: 73.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/5.825, allocations: 1.028 MB / 1.783 GB, free: 72.08 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/5.825, allocations: 0 / 1.783 GB, free: 72.08 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/5.826, allocations: 32 kB / 1.783 GB, free: 72.05 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/5.826, allocations: 23.98 kB / 1.783 GB, free: 72.03 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/5.829, allocations: 0.7728 MB / 1.783 GB, free: 71.25 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.009485/5.838, allocations: 4.714 MB / 1.788 GB, free: 66.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/5.841, allocations: 0.5392 MB / 1.789 GB, free: 65.73 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003405/5.844, allocations: 1.646 MB / 1.79 GB, free: 63.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/5.846, allocations: 416.6 kB / 1.791 GB, free: 63.48 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008176/5.847, allocations: 83.34 kB / 1.791 GB, free: 63.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.606e-06/5.847, allocations: 0 / 1.791 GB, free: 63.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.004841/5.851, allocations: 1.251 MB / 1.792 GB, free: 62.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/5.851, allocations: 106.8 kB / 1.792 GB, free: 61.94 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/5.854, allocations: 1.118 MB / 1.793 GB, free: 60.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/5.854, allocations: 41.7 kB / 1.793 GB, free: 60.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00071/5.855, allocations: 0.6609 MB / 1.794 GB, free: 60.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/5.855, allocations: 149.8 kB / 1.794 GB, free: 59.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/5.855, allocations: 15.94 kB / 1.794 GB, free: 59.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/5.855, allocations: 330 kB / 1.794 GB, free: 59.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/5.856, allocations: 265.1 kB / 1.794 GB, free: 59.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/5.858, allocations: 0.5404 MB / 1.795 GB, free: 58.68 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/5.859, allocations: 359.4 kB / 1.795 GB, free: 58.32 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/5.859, allocations: 4 kB / 1.795 GB, free: 58.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00361/5.863, allocations: 0.9556 MB / 1.796 GB, free: 57.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006831/5.863, allocations: 2.801 MB / 1.799 GB, free: 54.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/5.863, allocations: 8 kB / 1.799 GB, free: 54.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/5.864, allocations: 77.69 kB / 1.799 GB, free: 54.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/5.865, allocations: 155.8 kB / 1.799 GB, free: 54.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007378/5.866, allocations: 1.128 MB / 1.8 GB, free: 52.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/5.868, allocations: 88.05 kB / 1.8 GB, free: 52.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/5.868, allocations: 47.3 kB / 1.8 GB, free: 52.83 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/5.868, allocations: 4 kB / 1.8 GB, free: 52.82 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002873/5.871, allocations: 0.8156 MB / 1.801 GB, free: 52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/5.871, allocations: 4 kB / 1.801 GB, free: 51.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/5.871, allocations: 93.66 kB / 1.801 GB, free: 51.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/5.872, allocations: 148.2 kB / 1.802 GB, free: 51.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/5.873, allocations: 1.128 MB / 1.803 GB, free: 50.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/5.875, allocations: 84.06 kB / 1.803 GB, free: 50.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/5.875, allocations: 39.98 kB / 1.803 GB, free: 50.45 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.001111/5.876, allocations: 486.6 kB / 1.803 GB, free: 49.96 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/5.876, allocations: 134.3 kB / 1.803 GB, free: 49.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/5.88, allocations: 0.9554 MB / 1.804 GB, free: 48.85 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/5.88, allocations: 8 kB / 1.804 GB, free: 48.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/5.88, allocations: 0 / 1.804 GB, free: 48.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/5.88, allocations: 3.984 kB / 1.804 GB, free: 48.84 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.006935/5.887, allocations: 1.987 MB / 1.806 GB, free: 46.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/5.887, allocations: 0 / 1.806 GB, free: 46.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/5.888, allocations: 107.3 kB / 1.806 GB, free: 46.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/5.888, allocations: 69.69 kB / 1.806 GB, free: 46.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/5.888, allocations: 23.94 kB / 1.806 GB, free: 46.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006813/5.889, allocations: 1.112 MB / 1.808 GB, free: 45.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/5.889, allocations: 4.031 kB / 1.808 GB, free: 45.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/5.893, allocations: 1.072 MB / 1.809 GB, free: 44.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/5.893, allocations: 295.1 kB / 1.809 GB, free: 43.96 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/5.894, allocations: 12 kB / 1.809 GB, free: 43.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/5.895, allocations: 75.92 kB / 1.809 GB, free: 43.88 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/5.895, allocations: 35.95 kB / 1.809 GB, free: 43.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/5.895, allocations: 31.97 kB / 1.809 GB, free: 43.81 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001792/5.897, allocations: 0.8715 MB / 1.81 GB, free: 42.94 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.62e-07/5.897, allocations: 0 / 1.81 GB, free: 42.94 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00341/5.901, allocations: 0.7564 MB / 1.811 GB, free: 42.18 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.005473/5.906, allocations: 2.711 MB / 1.813 GB, free: 39.43 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004294/5.911, allocations: 1.227 MB / 1.814 GB, free: 38.18 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/5.911, allocations: 0.6875 kB / 1.814 GB, free: 38.18 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/5.912, allocations: 424.5 kB / 1.815 GB, free: 37.76 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/5.917, allocations: 0.6124 MB / 1.815 GB, free: 37.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/5.925, allocations: 8.068 MB / 1.823 GB, free: 28.88 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/5.926, allocations: 1.226 MB / 1.824 GB, free: 27.62 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002398/5.929, allocations: 286.7 kB / 1.825 GB, free: 27.35 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/5.93, allocations: 0.5344 MB / 1.825 GB, free: 26.81 MB / 0.823 GB Notification: Performance of SimCode: time 1.773e-06/5.93, allocations: 0 / 1.825 GB, free: 26.81 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7752/6.705, allocations: 45 MB / 1.869 GB, free: 120.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/6.705, allocations: 307.9 kB / 1.87 GB, free: 120.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.483/11.19, allocations: 3.266 kB / 1.87 GB, free: 120.1 MB / 0.823 GB