Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.381/2.381, allocations: 248.7 MB / 256.2 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 184 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 85.77 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.903e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.952/2.158, allocations: 398.1 MB / 1.273 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/2.159, allocations: 91.31 kB / 1.273 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.226/4.385, allocations: 475.4 MB / 1.737 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/4.385, allocations: 0 / 1.737 GB, free: 183 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002175/4.385, allocations: 37.33 kB / 1.737 GB, free: 183 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004401/4.389, allocations: 1.515 MB / 1.739 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/4.389, allocations: 11.47 kB / 1.739 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/4.391, allocations: 229.3 kB / 1.739 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/4.398, allocations: 1.93 MB / 1.741 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/4.398, allocations: 24.59 kB / 1.741 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/4.399, allocations: 51.52 kB / 1.741 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/4.4, allocations: 0.6277 MB / 1.741 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/4.402, allocations: 0.8058 MB / 1.742 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/4.402, allocations: 15.12 kB / 1.742 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/4.402, allocations: 3.984 kB / 1.742 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/4.402, allocations: 18.34 kB / 1.742 GB, free: 179.7 MB / 0.8698 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.008203/4.41, allocations: 4.445 MB / 1.747 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/4.412, allocations: 0.5676 MB / 1.747 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/4.412, allocations: 298.2 kB / 1.747 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0044/4.417, allocations: 1.667 MB / 1.749 GB, free: 174 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007099/4.418, allocations: 304.7 kB / 1.749 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009893/4.419, allocations: 96.36 kB / 1.75 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 5.46e-06/4.419, allocations: 0 / 1.75 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.002963/4.422, allocations: 0.7062 MB / 1.75 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/4.422, allocations: 67.23 kB / 1.75 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/4.424, allocations: 0.9837 MB / 1.751 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/4.424, allocations: 32.7 kB / 1.751 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/4.425, allocations: 0.6399 MB / 1.752 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/4.425, allocations: 157.8 kB / 1.752 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/4.425, allocations: 0 / 1.752 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/4.425, allocations: 335 kB / 1.752 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/4.426, allocations: 204.7 kB / 1.753 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/4.427, allocations: 0.544 MB / 1.753 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/4.428, allocations: 339 kB / 1.753 GB, free: 171 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/4.428, allocations: 0 / 1.753 GB, free: 171 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003262/4.431, allocations: 0.934 MB / 1.754 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006679/4.432, allocations: 3.047 MB / 1.757 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/4.432, allocations: 4 kB / 1.757 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/4.433, allocations: 127.3 kB / 1.757 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/4.434, allocations: 147.7 kB / 1.758 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/4.435, allocations: 0.7849 MB / 1.758 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/4.437, allocations: 67.06 kB / 1.758 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/4.437, allocations: 42.95 kB / 1.758 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/4.437, allocations: 4 kB / 1.758 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002423/4.439, allocations: 0.7871 MB / 1.759 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/4.439, allocations: 8 kB / 1.759 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/4.44, allocations: 107.4 kB / 1.759 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/4.44, allocations: 143.7 kB / 1.759 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/4.443, allocations: 2.116 MB / 1.762 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/4.445, allocations: 58.7 kB / 1.762 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/4.445, allocations: 39.98 kB / 1.762 GB, free: 162.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002816/4.445, allocations: 135.8 kB / 1.762 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002072/4.447, allocations: 0.644 MB / 1.762 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/4.447, allocations: 118.5 kB / 1.762 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/4.45, allocations: 0.7983 MB / 1.763 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/4.45, allocations: 7.141 kB / 1.763 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/4.45, allocations: 3.984 kB / 1.763 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/4.451, allocations: 0.8076 MB / 1.764 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/4.456, allocations: 1.685 MB / 1.766 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/4.456, allocations: 0 / 1.766 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/4.456, allocations: 86.78 kB / 1.766 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/4.457, allocations: 104.1 kB / 1.766 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/4.457, allocations: 10.5 kB / 1.766 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007655/4.458, allocations: 0.7503 MB / 1.767 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/4.458, allocations: 0 / 1.767 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/4.46, allocations: 1.116 MB / 1.768 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/4.461, allocations: 274.5 kB / 1.768 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/4.461, allocations: 0 / 1.768 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/4.462, allocations: 54.97 kB / 1.768 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/4.462, allocations: 51.3 kB / 1.768 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/4.462, allocations: 23.98 kB / 1.768 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001372/4.464, allocations: 0.7592 MB / 1.769 GB, free: 155 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/4.464, allocations: 0 / 1.769 GB, free: 155 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003015/4.467, allocations: 0.6861 MB / 1.77 GB, free: 154.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (41): * Single equations (assignments): 35 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004493/4.471, allocations: 2.401 MB / 1.772 GB, free: 152 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003434/4.475, allocations: 1.216 MB / 1.773 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/4.475, allocations: 0 / 1.773 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008714/4.476, allocations: 284.8 kB / 1.773 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/4.48, allocations: 0.5073 MB / 1.774 GB, free: 150 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/4.487, allocations: 2.03 MB / 1.776 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008849/4.488, allocations: 1.298 MB / 1.777 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003227/4.491, allocations: 0.5566 MB / 1.778 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008479/4.492, allocations: 487.2 kB / 1.778 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/4.492, allocations: 3.938 kB / 1.778 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/4.607, allocations: 37.16 MB / 1.814 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/4.607, allocations: 165.1 kB / 1.815 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.289/8.896, allocations: 0 / 1.815 GB, free: 109.1 MB / 0.8698 GB