Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example3",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.183/2.183, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.00157, allocations: 189.5 kB / 325.5 MB, free: 2.895 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.317/2.317, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.00122/0.001219, allocations: 102.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 16.66 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.423, allocations: 397.9 MB / 1.287 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/1.423, allocations: 95.73 kB / 1.287 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.531/4.954, allocations: 0.6891 GB / 1.977 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.175e-06/4.954, allocations: 0 / 1.977 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003154/4.954, allocations: 56.19 kB / 1.977 GB, free: 114.4 MB / 0.8855 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.009591/4.964, allocations: 2.447 MB / 1.979 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/4.964, allocations: 8.031 kB / 1.979 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006012/4.965, allocations: 159.8 kB / 1.979 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/4.967, allocations: 281.4 kB / 1.979 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009377/4.976, allocations: 2.553 MB / 1.982 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.472e-05/4.976, allocations: 78 kB / 1.982 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/4.977, allocations: 104 kB / 1.982 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/4.98, allocations: 1.248 MB / 1.983 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/4.98, allocations: 7.938 kB / 1.983 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/4.98, allocations: 40 kB / 1.983 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/4.98, allocations: 24 kB / 1.983 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/4.983, allocations: 0.9523 MB / 1.984 GB, free: 106.3 MB / 0.8855 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.0104/4.993, allocations: 6.611 MB / 1.991 GB, free: 99.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/4.995, allocations: 0.6175 MB / 1.991 GB, free: 98.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003912/4.999, allocations: 1.628 MB / 1.993 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/5, allocations: 365 kB / 1.993 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001197/5.002, allocations: 139.3 kB / 1.993 GB, free: 96.35 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 4.147e-06/5.002, allocations: 0 / 1.993 GB, free: 96.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.004831/5.006, allocations: 1.256 MB / 1.995 GB, free: 95.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/5.006, allocations: 59.78 kB / 1.995 GB, free: 95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/5.009, allocations: 1.56 MB / 1.996 GB, free: 93.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/5.01, allocations: 45.7 kB / 1.996 GB, free: 93.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/5.01, allocations: 0.8425 MB / 1.997 GB, free: 92.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/5.011, allocations: 165.7 kB / 1.997 GB, free: 92.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/5.011, allocations: 16 kB / 1.997 GB, free: 92.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/5.011, allocations: 341.9 kB / 1.998 GB, free: 91.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/5.012, allocations: 285.8 kB / 1.998 GB, free: 91.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/5.013, allocations: 0.7303 MB / 1.999 GB, free: 90.76 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/5.014, allocations: 416.7 kB / 1.999 GB, free: 90.34 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/5.014, allocations: 4 kB / 1.999 GB, free: 90.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003509/5.018, allocations: 1.207 MB / 2 GB, free: 89.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008662/5.019, allocations: 4.129 MB / 2.004 GB, free: 84.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/5.019, allocations: 12 kB / 2.004 GB, free: 84.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/5.019, allocations: 140.7 kB / 2.004 GB, free: 84.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/5.021, allocations: 175.7 kB / 2.004 GB, free: 84.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009466/5.022, allocations: 0.7603 MB / 2.005 GB, free: 83.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/5.024, allocations: 115.5 kB / 2.005 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/5.024, allocations: 43.98 kB / 2.005 GB, free: 83.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/5.024, allocations: 4.781 kB / 2.005 GB, free: 83.39 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003081/5.028, allocations: 1.074 MB / 2.006 GB, free: 82.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/5.028, allocations: 15.98 kB / 2.006 GB, free: 82.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/5.028, allocations: 116.8 kB / 2.007 GB, free: 82.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/5.029, allocations: 168 kB / 2.007 GB, free: 82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/5.032, allocations: 2.146 MB / 2.009 GB, free: 79.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/5.035, allocations: 91.84 kB / 2.009 GB, free: 79.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/5.035, allocations: 47.98 kB / 2.009 GB, free: 79.58 MB / 0.8855 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 () * 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.001542/5.036, allocations: 0.5864 MB / 2.01 GB, free: 78.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/5.037, allocations: 173.8 kB / 2.01 GB, free: 78.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/5.04, allocations: 1 MB / 2.011 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/5.04, allocations: 7.984 kB / 2.011 GB, free: 77.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/5.04, allocations: 3.953 kB / 2.011 GB, free: 77.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/5.043, allocations: 0.9489 MB / 2.012 GB, free: 76.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/5.048, allocations: 2.174 MB / 2.014 GB, free: 74.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/5.049, allocations: 0 / 2.014 GB, free: 74.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/5.049, allocations: 87.86 kB / 2.014 GB, free: 74.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/5.05, allocations: 132.9 kB / 2.014 GB, free: 74.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-05/5.05, allocations: 15.98 kB / 2.014 GB, free: 74.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007133/5.051, allocations: 0.7379 MB / 2.015 GB, free: 73.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.051, allocations: 0 / 2.015 GB, free: 73.51 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/5.054, allocations: 1.415 MB / 2.016 GB, free: 72.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/5.055, allocations: 314.8 kB / 2.016 GB, free: 71.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/5.056, allocations: 12 kB / 2.016 GB, free: 71.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/5.057, allocations: 79.83 kB / 2.016 GB, free: 71.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/5.057, allocations: 48.33 kB / 2.016 GB, free: 71.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/5.057, allocations: 23.98 kB / 2.017 GB, free: 71.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002319/5.06, allocations: 1.223 MB / 2.018 GB, free: 70.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/5.06, allocations: 4 kB / 2.018 GB, free: 70.31 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003585/5.063, allocations: 0.8699 MB / 2.019 GB, free: 69.44 MB / 0.8855 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 (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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005472/5.069, allocations: 2.712 MB / 2.021 GB, free: 66.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003869/5.073, allocations: 1.45 MB / 2.023 GB, free: 65.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.073, allocations: 7.875 kB / 2.023 GB, free: 65.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/5.074, allocations: 338.5 kB / 2.023 GB, free: 64.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/5.079, allocations: 0.7411 MB / 2.024 GB, free: 64.15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/5.09, allocations: 11.82 MB / 2.035 GB, free: 51.87 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/5.091, allocations: 1.527 MB / 2.037 GB, free: 50.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002585/5.094, allocations: 438 kB / 2.037 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/5.095, allocations: 0.6477 MB / 2.038 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/5.095, allocations: 0 / 2.038 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8327/5.928, allocations: 50.41 MB / 2.087 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/5.928, allocations: 242.6 kB / 2.087 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.584/10.51, allocations: 0 / 2.087 GB, free: 204.9 MB / 0.8855 GB