Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.167/2.167, allocations: 251 MB / 265.9 MB, free: 11.68 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.001593/0.001592, allocations: 187.2 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.357/2.357, 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.001134/0.001134, allocations: 92.11 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005274/0.0005274, allocations: 12.84 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2197, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.572/6.791, allocations: 2.182 GB / 3.08 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/6.792, allocations: 92.86 kB / 3.08 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.903/11.69, allocations: 0.9285 GB / 4.009 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.216e-06/11.7, allocations: 0 / 4.009 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002847/11.7, allocations: 31.98 kB / 4.009 GB, free: 119.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006628/11.7, allocations: 1.425 MB / 4.01 GB, free: 118 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/11.7, allocations: 12.03 kB / 4.01 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003579/11.7, allocations: 94.52 kB / 4.01 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/11.7, allocations: 194.3 kB / 4.011 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/11.71, allocations: 1.089 MB / 4.012 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/11.71, allocations: 48.98 kB / 4.012 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/11.71, allocations: 60 kB / 4.012 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/11.71, allocations: 0.7615 MB / 4.012 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/11.71, allocations: 11.88 kB / 4.013 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/11.71, allocations: 20 kB / 4.013 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/11.71, allocations: 19.98 kB / 4.013 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/11.71, allocations: 0.5149 MB / 4.013 GB, free: 115 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.005813/11.72, allocations: 4.587 MB / 4.018 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/11.72, allocations: 426.4 kB / 4.018 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/11.72, allocations: 190.2 kB / 4.018 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/11.72, allocations: 295.5 kB / 4.018 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 4.107e-06/11.72, allocations: 0 / 4.018 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.002166/11.72, allocations: 0.6413 MB / 4.019 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/11.72, allocations: 81.11 kB / 4.019 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/11.72, allocations: 0.9873 MB / 4.02 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/11.72, allocations: 37.7 kB / 4.02 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/11.72, allocations: 492.5 kB / 4.021 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/11.72, allocations: 110.7 kB / 4.021 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/11.72, allocations: 15.94 kB / 4.021 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/11.72, allocations: 326 kB / 4.021 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/11.73, allocations: 188.7 kB / 4.021 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/11.73, allocations: 0.5007 MB / 4.022 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/11.73, allocations: 298.2 kB / 4.022 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/11.73, allocations: 4 kB / 4.022 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001819/11.73, allocations: 0.6771 MB / 4.023 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004763/11.73, allocations: 2.133 MB / 4.025 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/11.73, allocations: 4 kB / 4.025 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/11.73, allocations: 8 kB / 4.025 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/11.73, allocations: 291.5 kB / 4.025 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/11.74, allocations: 6.091 MB / 4.031 GB, free: 95.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/11.74, allocations: 107.5 kB / 4.031 GB, free: 95.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/11.74, allocations: 24 kB / 4.031 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/11.74, allocations: 4 kB / 4.031 GB, free: 95.46 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/11.74, allocations: 0.5372 MB / 4.032 GB, free: 94.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/11.74, allocations: 8 kB / 4.032 GB, free: 94.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/11.74, allocations: 12.03 kB / 4.032 GB, free: 94.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/11.74, allocations: 147.8 kB / 4.032 GB, free: 94.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/11.74, allocations: 8 kB / 4.032 GB, free: 94.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/11.74, allocations: 95.47 kB / 4.032 GB, free: 94.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/11.74, allocations: 31.92 kB / 4.032 GB, free: 94.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008896/11.74, allocations: 477.2 kB / 4.032 GB, free: 94.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/11.74, allocations: 94.78 kB / 4.032 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/11.74, allocations: 0.4951 MB / 4.033 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/11.74, allocations: 4.375 kB / 4.033 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/11.74, allocations: 0 / 4.033 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/11.74, allocations: 3.984 kB / 4.033 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/11.75, allocations: 1.384 MB / 4.034 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/11.75, allocations: 4 kB / 4.034 GB, free: 92.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/11.75, allocations: 171.9 kB / 4.034 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/11.75, allocations: 11.88 kB / 4.034 GB, free: 91.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/11.75, allocations: 8 kB / 4.034 GB, free: 91.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/11.75, allocations: 6.028 MB / 4.04 GB, free: 85.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/11.75, allocations: 0 / 4.04 GB, free: 85.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/11.75, allocations: 0.6974 MB / 4.041 GB, free: 84.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/11.75, allocations: 215.8 kB / 4.041 GB, free: 84.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/11.75, allocations: 12 kB / 4.041 GB, free: 84.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/11.75, allocations: 55.8 kB / 4.041 GB, free: 84.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/11.75, allocations: 27.95 kB / 4.041 GB, free: 84.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/11.75, allocations: 16 kB / 4.041 GB, free: 84.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001505/11.76, allocations: 0.7797 MB / 4.042 GB, free: 83.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/11.76, allocations: 0 / 4.042 GB, free: 83.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002236/11.76, allocations: 487.5 kB / 4.043 GB, free: 83.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003272/11.76, allocations: 2.519 MB / 4.045 GB, free: 80.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004472/11.77, allocations: 0.9775 MB / 4.046 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/11.77, allocations: 0 / 4.046 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/11.77, allocations: 277.9 kB / 4.046 GB, free: 79.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/11.77, allocations: 456.6 kB / 4.047 GB, free: 78.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/11.79, allocations: 9.617 MB / 4.056 GB, free: 69.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/11.79, allocations: 1.208 MB / 4.057 GB, free: 67.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001856/11.79, allocations: 379.7 kB / 4.058 GB, free: 67.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/11.79, allocations: 311.3 kB / 4.058 GB, free: 67.11 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/11.79, allocations: 3.938 kB / 4.058 GB, free: 67.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/11.89, allocations: 40.1 MB / 4.097 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/11.89, allocations: 259.6 kB / 4.097 GB, free: 26.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/16.08, allocations: 4 kB / 4.097 GB, free: 26.96 MB / 0.8855 GB