Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.11/4.11, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.296e-05/4.319e-05, allocations: 4.766 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 98.74 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.429, allocations: 390.3 MB / 1.016 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.429, allocations: 89.94 kB / 1.016 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.468/4.897, allocations: 0.6863 GB / 1.702 GB, free: 23.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.574e-06/4.897, allocations: 4 kB / 1.702 GB, free: 23.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003445/4.897, allocations: 48.14 kB / 1.702 GB, free: 23.35 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006399/4.904, allocations: 1.85 MB / 1.704 GB, free: 21.45 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/4.904, allocations: 8.031 kB / 1.704 GB, free: 21.44 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/4.904, allocations: 151.8 kB / 1.704 GB, free: 21.29 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/4.907, allocations: 330.2 kB / 1.705 GB, free: 20.96 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00972/4.917, allocations: 2.544 MB / 1.707 GB, free: 18.37 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/4.917, allocations: 86 kB / 1.707 GB, free: 18.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/4.918, allocations: 104 kB / 1.707 GB, free: 18.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/4.92, allocations: 1.202 MB / 1.708 GB, free: 16.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/4.921, allocations: 7.844 kB / 1.708 GB, free: 16.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/4.921, allocations: 48 kB / 1.708 GB, free: 16.85 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/4.921, allocations: 27.95 kB / 1.708 GB, free: 16.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/4.923, allocations: 0.8783 MB / 1.709 GB, free: 15.94 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.0112/4.934, allocations: 6.607 MB / 1.716 GB, free: 8.875 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/4.936, allocations: 0.5506 MB / 1.716 GB, free: 8.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007301/4.936, allocations: 361.8 kB / 1.717 GB, free: 7.965 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004418/4.941, allocations: 1.605 MB / 1.718 GB, free: 6.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008327/4.942, allocations: 334.5 kB / 1.719 GB, free: 5.898 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/4.943, allocations: 135.3 kB / 1.719 GB, free: 5.766 MB / 0.823 GB Notification: Performance of pre-optimization done (n=46): time 6.663e-06/4.943, allocations: 0 / 1.719 GB, free: 5.766 MB / 0.823 GB Notification: Performance of matching and sorting (n=46): time 0.002552/4.946, allocations: 0.753 MB / 1.719 GB, free: 5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/4.946, allocations: 67.34 kB / 1.719 GB, free: 4.922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/4.951, allocations: 1.545 MB / 1.721 GB, free: 3.332 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002378/4.951, allocations: 41.7 kB / 1.721 GB, free: 3.285 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/4.952, allocations: 0.8661 MB / 1.722 GB, free: 2.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/4.953, allocations: 161.7 kB / 1.722 GB, free: 2.25 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/4.953, allocations: 12 kB / 1.722 GB, free: 2.238 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001006/4.953, allocations: 349.9 kB / 1.722 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/4.954, allocations: 245.7 kB / 1.723 GB, free: 1.652 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/4.955, allocations: 0.6825 MB / 1.723 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008822/4.955, allocations: 390 kB / 1.724 GB, free: 384 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/4.956, allocations: 8 kB / 1.724 GB, free: 376 kB / 0.823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.7492/5.705, allocations: 1.129 MB / 1.725 GB, free: 185.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001053/5.706, allocations: 4.134 MB / 1.729 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/5.706, allocations: 10.62 kB / 1.729 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007715/5.707, allocations: 145.1 kB / 1.729 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/5.708, allocations: 174.4 kB / 1.729 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009827/5.709, allocations: 0.7585 MB / 1.73 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/5.711, allocations: 101.8 kB / 1.73 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/5.712, allocations: 47.53 kB / 1.73 GB, free: 180.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/5.712, allocations: 6.812 kB / 1.73 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002706/5.714, allocations: 1.012 MB / 1.731 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/5.714, allocations: 9.5 kB / 1.731 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/5.715, allocations: 118.1 kB / 1.731 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/5.716, allocations: 167.2 kB / 1.731 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/5.719, allocations: 2.12 MB / 1.733 GB, free: 179.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/5.722, allocations: 98.28 kB / 1.733 GB, free: 179.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/5.722, allocations: 43.95 kB / 1.733 GB, free: 179.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004096/5.722, allocations: 175.2 kB / 1.734 GB, free: 179.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/5.723, allocations: 172.8 kB / 1.734 GB, free: 179.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/5.726, allocations: 0.9385 MB / 1.735 GB, free: 179.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/5.726, allocations: 5.312 kB / 1.735 GB, free: 179.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/5.726, allocations: 0.9375 kB / 1.735 GB, free: 179.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001826/5.728, allocations: 0.8888 MB / 1.736 GB, free: 178.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/5.734, allocations: 2.092 MB / 1.738 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/5.734, allocations: 1 kB / 1.738 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008733/5.735, allocations: 86.8 kB / 1.738 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005213/5.736, allocations: 115.6 kB / 1.738 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/5.736, allocations: 15.36 kB / 1.738 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008467/5.736, allocations: 0.7445 MB / 1.739 GB, free: 177.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/5.736, allocations: 0 / 1.739 GB, free: 177.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/5.74, allocations: 1.278 MB / 1.74 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/5.741, allocations: 313.9 kB / 1.74 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/5.742, allocations: 10.8 kB / 1.74 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/5.743, allocations: 74.5 kB / 1.74 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/5.743, allocations: 45.89 kB / 1.74 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/5.743, allocations: 22.8 kB / 1.74 GB, free: 177.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002927/5.746, allocations: 1.213 MB / 1.741 GB, free: 177.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.31e-07/5.746, allocations: 0 / 1.741 GB, free: 177.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004528/5.751, allocations: 0.8647 MB / 1.742 GB, free: 177.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005559/5.756, allocations: 2.516 MB / 1.745 GB, free: 176.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004126/5.761, allocations: 1.414 MB / 1.746 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/5.761, allocations: 0 / 1.746 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009185/5.762, allocations: 305 kB / 1.746 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006269/5.768, allocations: 0.7475 MB / 1.747 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/5.776, allocations: 2.729 MB / 1.75 GB, free: 175.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/5.778, allocations: 1.532 MB / 1.751 GB, free: 174.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005516/5.784, allocations: 0.9028 MB / 1.752 GB, free: 174.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/5.785, allocations: 0.6285 MB / 1.753 GB, free: 174.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.674e-06/5.785, allocations: 0 / 1.753 GB, free: 174.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/5.963, allocations: 55.13 MB / 1.807 GB, free: 172.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/5.963, allocations: 218.1 kB / 1.807 GB, free: 172.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/10.81, allocations: 3.938 kB / 1.807 GB, free: 172.6 MB / 0.823 GB