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.CoolingSubstation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.424/4.424, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.28e-05, allocations: 2.719 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2321, allocations: 98.74 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.511, allocations: 426.7 MB / 1.051 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.511, allocations: 91.02 kB / 1.052 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.574/5.085, allocations: 0.6683 GB / 1.72 GB, free: 6.109 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.355e-06/5.085, allocations: 0 / 1.72 GB, free: 6.109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003433/5.086, allocations: 35.98 kB / 1.72 GB, free: 6.074 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.005624/5.091, allocations: 1.719 MB / 1.721 GB, free: 4.297 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 9.326e-05/5.091, allocations: 8.031 kB / 1.721 GB, free: 4.289 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004274/5.092, allocations: 131.8 kB / 1.722 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/5.095, allocations: 389.6 kB / 1.722 GB, free: 3.77 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6964/5.792, allocations: 8.306 MB / 1.73 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/5.792, allocations: 67.47 kB / 1.73 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/5.792, allocations: 87.22 kB / 1.73 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/5.795, allocations: 0.9542 MB / 1.731 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/5.795, allocations: 5.094 kB / 1.731 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/5.796, allocations: 34.31 kB / 1.731 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/5.796, allocations: 24.09 kB / 1.731 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/5.798, allocations: 0.6418 MB / 1.732 GB, free: 122.6 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.01082/5.808, allocations: 4.722 MB / 1.736 GB, free: 120.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/5.81, allocations: 440.6 kB / 1.737 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/5.81, allocations: 224.4 kB / 1.737 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00398/5.814, allocations: 1.65 MB / 1.739 GB, free: 119.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009732/5.815, allocations: 357.5 kB / 1.739 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008476/5.816, allocations: 85.77 kB / 1.739 GB, free: 119.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.988e-06/5.816, allocations: 0.6562 kB / 1.739 GB, free: 119.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.00201/5.818, allocations: 0.6217 MB / 1.74 GB, free: 119 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/5.818, allocations: 111.7 kB / 1.74 GB, free: 118.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/5.821, allocations: 1.103 MB / 1.741 GB, free: 118.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/5.821, allocations: 37.92 kB / 1.741 GB, free: 118.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000837/5.822, allocations: 0.6607 MB / 1.742 GB, free: 118.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/5.822, allocations: 152.8 kB / 1.742 GB, free: 118.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/5.822, allocations: 12.17 kB / 1.742 GB, free: 118.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/5.823, allocations: 330.8 kB / 1.742 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/5.823, allocations: 197.7 kB / 1.742 GB, free: 118.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/5.824, allocations: 490.4 kB / 1.743 GB, free: 117.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/5.825, allocations: 291.4 kB / 1.743 GB, free: 117.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/5.825, allocations: 9.891 kB / 1.743 GB, free: 117.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002595/5.827, allocations: 0.8457 MB / 1.744 GB, free: 117.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006527/5.828, allocations: 2.786 MB / 1.747 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/5.828, allocations: 7.25 kB / 1.747 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/5.829, allocations: 84.62 kB / 1.747 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/5.83, allocations: 159.8 kB / 1.747 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007956/5.831, allocations: 1.131 MB / 1.748 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/5.833, allocations: 84.22 kB / 1.748 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/5.833, allocations: 41.58 kB / 1.748 GB, free: 113.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/5.833, allocations: 4.469 kB / 1.748 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002125/5.835, allocations: 0.704 MB / 1.749 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/5.835, allocations: 6.594 kB / 1.749 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/5.836, allocations: 87.88 kB / 1.749 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/5.837, allocations: 151.2 kB / 1.749 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007354/5.837, allocations: 1.132 MB / 1.75 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/5.839, allocations: 77.36 kB / 1.75 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/5.839, allocations: 41.45 kB / 1.75 GB, free: 112.6 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.0004074/5.84, allocations: 180.5 kB / 1.75 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/5.84, allocations: 135.3 kB / 1.75 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/5.843, allocations: 0.8322 MB / 1.751 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/5.843, allocations: 5.891 kB / 1.751 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/5.843, allocations: 1.781 kB / 1.751 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/5.843, allocations: 3.781 kB / 1.751 GB, free: 112.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.005568/5.849, allocations: 1.884 MB / 1.753 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/5.849, allocations: 2.062 kB / 1.753 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/5.85, allocations: 98.38 kB / 1.753 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/5.85, allocations: 77.62 kB / 1.753 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/5.85, allocations: 18.19 kB / 1.753 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006801/5.851, allocations: 1.113 MB / 1.754 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/5.851, allocations: 7.453 kB / 1.754 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/5.853, allocations: 0.9537 MB / 1.755 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/5.854, allocations: 292.4 kB / 1.756 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/5.854, allocations: 12.97 kB / 1.756 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/5.856, allocations: 80.73 kB / 1.756 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/5.856, allocations: 43.19 kB / 1.756 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/5.856, allocations: 31.58 kB / 1.756 GB, free: 110.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002202/5.858, allocations: 0.8594 MB / 1.757 GB, free: 110.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.81e-07/5.858, allocations: 3.188 kB / 1.757 GB, free: 110.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00405/5.862, allocations: 0.7511 MB / 1.757 GB, free: 110 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.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.004435/5.867, allocations: 2.592 MB / 1.76 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002779/5.87, allocations: 1.101 MB / 1.761 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/5.87, allocations: 6.094 kB / 1.761 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/5.871, allocations: 366.7 kB / 1.761 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/5.875, allocations: 0.6147 MB / 1.762 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/5.882, allocations: 1.974 MB / 1.764 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/5.883, allocations: 1.234 MB / 1.765 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003076/5.886, allocations: 419.1 kB / 1.765 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/5.887, allocations: 0.5107 MB / 1.766 GB, free: 107.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.192e-06/5.887, allocations: 3.172 kB / 1.766 GB, free: 107.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/6.013, allocations: 48.85 MB / 1.814 GB, free: 105.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/6.014, allocations: 269.2 kB / 1.814 GB, free: 105.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/11.29, allocations: 4 kB / 1.814 GB, free: 105.6 MB / 0.823 GB