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.279/2.279, allocations: 248.5 MB / 261.1 MB, free: 6 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.001427/0.001427, allocations: 188.2 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.2 MB / 0.571 GB, free: 11.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 101.8 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.158e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.943/2.142, allocations: 397.8 MB / 1.279 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/2.142, allocations: 96.88 kB / 1.279 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.221/4.363, allocations: 478.3 MB / 1.746 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.923e-06/4.363, allocations: 0 / 1.746 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002192/4.363, allocations: 39.72 kB / 1.746 GB, free: 172.4 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.00417/4.368, allocations: 1.518 MB / 1.748 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/4.368, allocations: 7.812 kB / 1.748 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/4.368, allocations: 126.8 kB / 1.748 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/4.37, allocations: 230.9 kB / 1.748 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006791/4.376, allocations: 1.934 MB / 1.75 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/4.377, allocations: 67.86 kB / 1.75 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/4.377, allocations: 88.88 kB / 1.75 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/4.379, allocations: 0.9133 MB / 1.751 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/4.379, allocations: 6.125 kB / 1.751 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/4.379, allocations: 35.25 kB / 1.751 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/4.379, allocations: 20.94 kB / 1.751 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/4.381, allocations: 0.6405 MB / 1.752 GB, free: 168.8 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.008197/4.389, allocations: 4.607 MB / 1.756 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/4.39, allocations: 0.5284 MB / 1.757 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/4.391, allocations: 294.9 kB / 1.757 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003918/4.395, allocations: 1.698 MB / 1.759 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006744/4.396, allocations: 314.1 kB / 1.759 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008076/4.396, allocations: 118.3 kB / 1.759 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 3.447e-06/4.397, allocations: 0 / 1.759 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.00173/4.398, allocations: 0.6431 MB / 1.76 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/4.398, allocations: 59.39 kB / 1.76 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/4.4, allocations: 1.105 MB / 1.761 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/4.401, allocations: 45.7 kB / 1.761 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006416/4.401, allocations: 0.6411 MB / 1.762 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/4.401, allocations: 161.8 kB / 1.762 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/4.401, allocations: 10.59 kB / 1.762 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/4.402, allocations: 334 kB / 1.762 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/4.402, allocations: 201.5 kB / 1.762 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/4.403, allocations: 0.5405 MB / 1.763 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/4.403, allocations: 318.9 kB / 1.763 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/4.403, allocations: 4 kB / 1.763 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00234/4.406, allocations: 0.952 MB / 1.764 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006582/4.407, allocations: 3.042 MB / 1.767 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/4.407, allocations: 8 kB / 1.767 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/4.407, allocations: 134.9 kB / 1.767 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/4.408, allocations: 155.7 kB / 1.767 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/4.409, allocations: 0.766 MB / 1.768 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/4.411, allocations: 85.77 kB / 1.768 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/4.411, allocations: 43.98 kB / 1.768 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/4.411, allocations: 4 kB / 1.768 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/4.413, allocations: 0.8549 MB / 1.769 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/4.413, allocations: 8 kB / 1.769 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/4.413, allocations: 107.4 kB / 1.769 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/4.414, allocations: 135.8 kB / 1.769 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/4.417, allocations: 2.207 MB / 1.771 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/4.419, allocations: 78.91 kB / 1.771 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/4.419, allocations: 39.92 kB / 1.772 GB, free: 149.9 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.0002791/4.419, allocations: 155.5 kB / 1.772 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/4.419, allocations: 126.4 kB / 1.772 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/4.422, allocations: 0.8227 MB / 1.773 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/4.422, allocations: 4 kB / 1.773 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/4.422, allocations: 4 kB / 1.773 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/4.423, allocations: 0.8304 MB / 1.773 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/4.427, allocations: 1.812 MB / 1.775 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/4.427, allocations: 0 / 1.775 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/4.428, allocations: 90.97 kB / 1.775 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/4.428, allocations: 123.9 kB / 1.775 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/4.429, allocations: 15.98 kB / 1.775 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007467/4.429, allocations: 0.7474 MB / 1.776 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.429, allocations: 4 kB / 1.776 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/4.432, allocations: 1.14 MB / 1.777 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008838/4.433, allocations: 275.3 kB / 1.777 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/4.433, allocations: 11.98 kB / 1.778 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/4.434, allocations: 71.62 kB / 1.778 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/4.434, allocations: 40.33 kB / 1.778 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/4.435, allocations: 26.89 kB / 1.778 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001649/4.436, allocations: 0.8642 MB / 1.778 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/4.436, allocations: 0 / 1.778 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003114/4.439, allocations: 0.7215 MB / 1.779 GB, free: 141.9 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.004133/4.444, allocations: 2.424 MB / 1.782 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003139/4.447, allocations: 1.263 MB / 1.783 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/4.447, allocations: 8.125 kB / 1.783 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/4.448, allocations: 294.3 kB / 1.783 GB, free: 138 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/4.452, allocations: 0.5573 MB / 1.784 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/4.457, allocations: 2.096 MB / 1.786 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/4.458, allocations: 1.301 MB / 1.787 GB, free: 134 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003123/4.462, allocations: 0.559 MB / 1.787 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/4.462, allocations: 483.2 kB / 1.788 GB, free: 133 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/4.462, allocations: 0 / 1.788 GB, free: 133 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/4.573, allocations: 43.98 MB / 1.831 GB, free: 89.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/4.573, allocations: 225.3 kB / 1.831 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/8.898, allocations: 0 / 1.831 GB, free: 89.5 MB / 0.8698 GB