Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.19/4.19, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.815e-05, allocations: 5.656 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 98.74 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.482, allocations: 437.1 MB / 1.056 GB, free: 13.39 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.483, allocations: 92.77 kB / 1.056 GB, free: 13.34 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 6.205/7.687, allocations: 1.118 GB / 2.174 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/7.687, allocations: 0 / 2.174 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003258/7.688, allocations: 50.72 kB / 2.174 GB, free: 121.9 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006197/7.694, allocations: 2.102 MB / 2.176 GB, free: 120.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/7.694, allocations: 7.406 kB / 2.176 GB, free: 120.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/7.698, allocations: 460.6 kB / 2.177 GB, free: 120.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009189/7.707, allocations: 2.283 MB / 2.179 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/7.707, allocations: 36.28 kB / 2.179 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/7.707, allocations: 79.16 kB / 2.179 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002185/7.71, allocations: 0.7835 MB / 2.18 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/7.712, allocations: 1.086 MB / 2.181 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/7.712, allocations: 7.078 kB / 2.181 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/7.712, allocations: 3.844 kB / 2.181 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/7.712, allocations: 31.92 kB / 2.181 GB, free: 120 MB / 0.8386 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.01157/7.724, allocations: 6.667 MB / 2.188 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/7.726, allocations: 1.143 MB / 2.189 GB, free: 115.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/7.726, allocations: 293 kB / 2.189 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006241/7.733, allocations: 2.866 MB / 2.192 GB, free: 113.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006866/7.733, allocations: 320.9 kB / 2.192 GB, free: 113.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000853/7.734, allocations: 79.31 kB / 2.192 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 4.92e-06/7.734, allocations: 0 / 2.192 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.009073/7.743, allocations: 1.287 MB / 2.193 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/7.743, allocations: 165.1 kB / 2.194 GB, free: 113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/7.746, allocations: 1.24 MB / 2.195 GB, free: 112.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002657/7.746, allocations: 29.58 kB / 2.195 GB, free: 112.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/7.747, allocations: 0.8936 MB / 2.196 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/7.748, allocations: 200.8 kB / 2.196 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/7.748, allocations: 0 / 2.196 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001062/7.748, allocations: 350.4 kB / 2.196 GB, free: 112 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/7.748, allocations: 255.7 kB / 2.196 GB, free: 112 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009086/7.749, allocations: 0.6957 MB / 2.197 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008047/7.757, allocations: 0.9861 MB / 2.198 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/7.758, allocations: 5.438 kB / 2.198 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01011/7.768, allocations: 1.642 MB / 2.2 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001321/7.769, allocations: 4.572 MB / 2.204 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-05/7.769, allocations: 23.17 kB / 2.204 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.767e-05/7.769, allocations: 19.03 kB / 2.204 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/7.771, allocations: 245.4 kB / 2.204 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/7.771, allocations: 24.09 kB / 2.204 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/7.774, allocations: 102.3 kB / 2.204 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/7.774, allocations: 56.55 kB / 2.205 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/7.774, allocations: 6.719 kB / 2.205 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009226/7.783, allocations: 1.427 MB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/7.783, allocations: 11.81 kB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/7.783, allocations: 17.16 kB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/7.785, allocations: 234.6 kB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/7.785, allocations: 24.97 kB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/7.787, allocations: 85.28 kB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003035/7.788, allocations: 57.28 kB / 2.206 GB, free: 106.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003817/7.788, allocations: 144.9 kB / 2.207 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008882/7.797, allocations: 1.257 MB / 2.208 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/7.797, allocations: 164 kB / 2.208 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009387/7.807, allocations: 1.487 MB / 2.209 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/7.807, allocations: 6.531 kB / 2.209 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-05/7.807, allocations: 3.844 kB / 2.209 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008136/7.815, allocations: 1.345 MB / 2.211 GB, free: 105.8 MB / 0.8386 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.012/7.827, allocations: 2.522 MB / 2.213 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/7.827, allocations: 0 / 2.213 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/7.828, allocations: 138.9 kB / 2.213 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/7.829, allocations: 34.33 kB / 2.213 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/7.829, allocations: 12.89 kB / 2.213 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/7.83, allocations: 1.256 MB / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/7.83, allocations: 8.359 kB / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009874/7.84, allocations: 1.845 MB / 2.216 GB, free: 104 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/7.841, allocations: 324.8 kB / 2.217 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004381/7.842, allocations: 9.406 kB / 2.217 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/7.843, allocations: 73.34 kB / 2.217 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/7.844, allocations: 53.38 kB / 2.217 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/7.844, allocations: 29.12 kB / 2.217 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002022/7.846, allocations: 0.9176 MB / 2.218 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.32e-07/7.846, allocations: 0 / 2.218 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006541/7.852, allocations: 0.9823 MB / 2.219 GB, free: 103.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/7.866, allocations: 3.511 MB / 2.222 GB, free: 102.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003401/7.869, allocations: 1.468 MB / 2.224 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/7.869, allocations: 2.844 kB / 2.224 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/7.87, allocations: 435 kB / 2.224 GB, free: 102 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/7.875, allocations: 0.6264 MB / 2.225 GB, free: 102 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/7.885, allocations: 2.717 MB / 2.227 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/7.886, allocations: 1.405 MB / 2.229 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00419/7.89, allocations: 0.5767 MB / 2.229 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/7.892, allocations: 0.6956 MB / 2.23 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.583e-06/7.892, allocations: 0 / 2.23 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/8.065, allocations: 47.58 MB / 2.276 GB, free: 87.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/8.066, allocations: 182.2 kB / 2.276 GB, free: 87.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.731/12.8, allocations: 0 / 2.276 GB, free: 87.46 MB / 0.8386 GB