Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01057/0.01057, allocations: 89.41 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001238/0.001238, allocations: 170.3 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.028/2.028, allocations: 205.5 MB / 222.2 MB, free: 13.59 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.378/2.378, allocations: 252.8 MB / 0.511 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005594, allocations: 12.12 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2583, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.05182/0.3102, allocations: 27.52 MB / 0.7549 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.3377, allocations: 11.6 MB / 0.7663 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.3399, allocations: 39.69 kB / 0.7663 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.3434, allocations: 0.6027 MB / 0.7669 GB, free: 244 kB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.007345/0.3508, allocations: 1.453 MB / 0.7683 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.362, allocations: 2.291 MB / 0.7705 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007212/0.3693, allocations: 2.833 MB / 0.7733 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003993/0.3733, allocations: 1.604 MB / 0.7749 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.3779, allocations: 1.32 MB / 0.7762 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.3806, allocations: 0.9217 MB / 0.7771 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006783/0.3814, allocations: 68 kB / 0.7771 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.3851, allocations: 0.7646 MB / 0.7779 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3863, allocations: 362.5 kB / 0.7782 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.3875, allocations: 400.7 kB / 0.7786 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.3925, allocations: 2.1 MB / 0.7806 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3925, allocations: 0 / 0.7806 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.808e-06/0.3925, allocations: 0 / 0.7806 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001061/0.3927, allocations: 0 / 0.7806 GB, free: 2.082 MB / 0.6042 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.006756/0.3994, allocations: 2.085 MB / 0.7827 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.3995, allocations: 8.031 kB / 0.7827 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005987/0.4001, allocations: 147.8 kB / 0.7828 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.4025, allocations: 317.2 kB / 0.7831 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.4082, allocations: 1.556 MB / 0.7847 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.4084, allocations: 78 kB / 0.7847 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.4089, allocations: 108 kB / 0.7848 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/0.4134, allocations: 1.313 MB / 0.7861 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.4135, allocations: 11.94 kB / 0.7861 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.4137, allocations: 39.98 kB / 0.7862 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.4137, allocations: 31.89 kB / 0.7862 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.4182, allocations: 1.038 MB / 0.7872 GB, free: 11.17 MB / 0.6198 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.01527/0.4335, allocations: 6.911 MB / 0.794 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.4364, allocations: 0.6638 MB / 0.7946 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005538/0.442, allocations: 1.869 MB / 0.7964 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.4436, allocations: 416.7 kB / 0.7968 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00122/0.4449, allocations: 107.3 kB / 0.7969 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 5.971e-06/0.445, allocations: 4 kB / 0.7969 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.008296/0.4533, allocations: 1.497 MB / 0.7984 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.4534, allocations: 55.41 kB / 0.7984 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.4581, allocations: 1.862 MB / 0.8003 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/0.4584, allocations: 37.7 kB / 0.8003 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.4597, allocations: 0.862 MB / 0.8011 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.4601, allocations: 161.7 kB / 0.8013 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.4602, allocations: 19.98 kB / 0.8013 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4604, allocations: 337.9 kB / 0.8016 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.4618, allocations: 313.8 kB / 0.8019 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4638, allocations: 0.7722 MB / 0.8027 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.4656, allocations: 442.3 kB / 0.8031 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.4656, allocations: 4 kB / 0.8031 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005656/0.4713, allocations: 1.328 MB / 0.8044 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001723/0.4731, allocations: 4.23 MB / 0.8085 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.4732, allocations: 11.94 kB / 0.8086 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.4748, allocations: 224.6 kB / 0.8088 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.4763, allocations: 179.7 kB / 0.8089 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4777, allocations: 0.8487 MB / 0.8098 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.4805, allocations: 116.5 kB / 0.8099 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/0.4809, allocations: 47.98 kB / 0.8099 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4809, allocations: 8 kB / 0.8099 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003588/0.4845, allocations: 1.02 MB / 0.8109 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/0.4846, allocations: 12 kB / 0.8109 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/0.4854, allocations: 156.7 kB / 0.8111 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.4866, allocations: 163.7 kB / 0.8112 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.4913, allocations: 2.386 MB / 0.8136 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.4939, allocations: 112.4 kB / 0.8137 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.4942, allocations: 48 kB / 0.8137 GB, free: 14.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked 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.001618/0.4958, allocations: 0.5868 MB / 0.8143 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/0.4964, allocations: 169.8 kB / 0.8145 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/0.5009, allocations: 1.066 MB / 0.8155 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.501, allocations: 8 kB / 0.8155 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.501, allocations: 3.984 kB / 0.8155 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003314/0.5043, allocations: 1.007 MB / 0.8165 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007625/0.512, allocations: 2.3 MB / 0.8187 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5121, allocations: 0 / 0.8187 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.5131, allocations: 91.86 kB / 0.8188 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006995/0.5138, allocations: 160.8 kB / 0.819 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.514, allocations: 19.98 kB / 0.819 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.5151, allocations: 0.8059 MB / 0.8198 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5152, allocations: 3.984 kB / 0.8198 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/0.5206, allocations: 1.489 MB / 0.8213 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.5219, allocations: 346.7 kB / 0.8216 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/0.5225, allocations: 12 kB / 0.8216 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/0.5248, allocations: 95.89 kB / 0.8217 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.5251, allocations: 48.31 kB / 0.8217 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.5252, allocations: 23.98 kB / 0.8218 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003522/0.5287, allocations: 1.293 MB / 0.823 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/0.5288, allocations: 4 kB / 0.823 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004587/0.5334, allocations: 0.8463 MB / 0.8239 GB, free: 3.836 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * 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.006949/0.5404, allocations: 2.392 MB / 0.8262 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.5946/1.135, allocations: 1.497 MB / 0.8276 GB, free: 98.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.135, allocations: 1.812 kB / 0.8277 GB, free: 98.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.137, allocations: 364.5 kB / 0.828 GB, free: 98.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007996/1.145, allocations: 0.8379 MB / 0.8288 GB, free: 98.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.161, allocations: 11.96 MB / 0.8405 GB, free: 88.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/1.163, allocations: 1.527 MB / 0.842 GB, free: 88.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003526/1.167, allocations: 436 kB / 0.8424 GB, free: 87.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.169, allocations: 0.6552 MB / 0.843 GB, free: 87.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.512e-06/1.169, allocations: 0 / 0.843 GB, free: 87.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1387/1.307, allocations: 47.91 MB / 0.8898 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/1.308, allocations: 259.6 kB / 0.8901 GB, free: 60.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.536/5.844, allocations: 0 / 0.8901 GB, free: 60.09 MB / 0.6511 GB