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.285/2.285, allocations: 248.5 MB / 261 MB, free: 5.969 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.001451/0.00145, allocations: 178.7 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.94/1.94, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001129/0.001128, allocations: 102.4 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.752e-05/4.772e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.997/7.208, allocations: 2.181 GB / 3.072 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/7.208, allocations: 104 kB / 3.072 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.068/12.28, allocations: 0.9276 GB / 4 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/12.28, allocations: 3.938 kB / 4 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001374/12.28, allocations: 29.11 kB / 4 GB, free: 221 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00286/12.28, allocations: 1.143 MB / 4.001 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/12.28, allocations: 7.656 kB / 4.001 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/12.28, allocations: 95.64 kB / 4.001 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/12.28, allocations: 186.5 kB / 4.001 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/12.29, allocations: 1.075 MB / 4.002 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/12.29, allocations: 54.27 kB / 4.002 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/12.29, allocations: 62.8 kB / 4.002 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/12.29, allocations: 0.7354 MB / 4.003 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/12.29, allocations: 3.938 kB / 4.003 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/12.29, allocations: 28.66 kB / 4.003 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/12.29, allocations: 10.94 kB / 4.003 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/12.29, allocations: 478.6 kB / 4.004 GB, free: 218.6 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.006006/12.29, allocations: 4.596 MB / 4.008 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/12.3, allocations: 380.7 kB / 4.008 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/12.3, allocations: 230.2 kB / 4.009 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/12.3, allocations: 201.7 kB / 4.009 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/12.3, allocations: 267.8 kB / 4.009 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.076e-06/12.3, allocations: 0 / 4.009 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001466/12.3, allocations: 451.9 kB / 4.01 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/12.3, allocations: 89.09 kB / 4.01 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/12.3, allocations: 0.9724 MB / 4.011 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/12.3, allocations: 37.7 kB / 4.011 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/12.3, allocations: 488.6 kB / 4.011 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/12.3, allocations: 110.2 kB / 4.011 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/12.3, allocations: 12 kB / 4.011 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/12.3, allocations: 325.9 kB / 4.012 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/12.3, allocations: 161 kB / 4.012 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/12.3, allocations: 0.4911 MB / 4.012 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/12.3, allocations: 279.2 kB / 4.012 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/12.3, allocations: 0 / 4.012 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001548/12.3, allocations: 0.6384 MB / 4.013 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004836/12.3, allocations: 2.129 MB / 4.015 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/12.3, allocations: 8 kB / 4.015 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/12.3, allocations: 11.98 kB / 4.015 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/12.31, allocations: 295 kB / 4.015 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/12.31, allocations: 6.087 MB / 4.021 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/12.31, allocations: 107.5 kB / 4.021 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/12.31, allocations: 24 kB / 4.021 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/12.31, allocations: 4 kB / 4.021 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/12.31, allocations: 497.4 kB / 4.022 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/12.31, allocations: 4 kB / 4.022 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/12.31, allocations: 8 kB / 4.022 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/12.32, allocations: 147.8 kB / 4.022 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/12.32, allocations: 16.08 kB / 4.022 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/12.32, allocations: 103.5 kB / 4.022 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/12.32, allocations: 24 kB / 4.022 GB, free: 199.3 MB / 0.8698 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 () * 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.0002391/12.32, allocations: 140.8 kB / 4.022 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/12.32, allocations: 98.78 kB / 4.022 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/12.32, allocations: 463 kB / 4.023 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/12.32, allocations: 4 kB / 4.023 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/12.32, allocations: 8 kB / 4.023 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/12.32, allocations: 7.938 kB / 4.023 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/12.32, allocations: 1.352 MB / 4.024 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/12.32, allocations: 7.953 kB / 4.024 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/12.32, allocations: 147.8 kB / 4.024 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/12.32, allocations: 4 kB / 4.024 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/12.32, allocations: 11.98 kB / 4.024 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/12.33, allocations: 6.021 MB / 4.03 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/12.33, allocations: 0 / 4.03 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/12.33, allocations: 0.6623 MB / 4.031 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/12.33, allocations: 219.8 kB / 4.031 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/12.33, allocations: 8 kB / 4.031 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00096/12.33, allocations: 47.95 kB / 4.031 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/12.33, allocations: 39.91 kB / 4.031 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/12.33, allocations: 8 kB / 4.031 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00144/12.33, allocations: 0.7766 MB / 4.032 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.81e-07/12.33, allocations: 3.938 kB / 4.032 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002213/12.33, allocations: 479.6 kB / 4.032 GB, free: 188.4 MB / 0.8698 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) * 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.002965/12.34, allocations: 2.488 MB / 4.035 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004118/12.34, allocations: 0.9586 MB / 4.036 GB, free: 185 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/12.34, allocations: 0 / 4.036 GB, free: 185 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/12.34, allocations: 256.6 kB / 4.036 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/12.34, allocations: 461 kB / 4.037 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/12.35, allocations: 1.659 MB / 4.038 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/12.35, allocations: 1.202 MB / 4.039 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003536/12.35, allocations: 0.788 MB / 4.04 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/12.35, allocations: 295.3 kB / 4.04 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.585e-06/12.35, allocations: 0 / 4.04 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/12.46, allocations: 43.81 MB / 4.083 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/12.46, allocations: 233.5 kB / 4.083 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.65/17.11, allocations: 4 kB / 4.083 GB, free: 136.4 MB / 0.8698 GB