Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.253/2.253, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001462/0.001462, allocations: 181.1 kB / 315.4 MB, free: 4.016 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.137/2.137, allocations: 205.3 MB / 0.5662 GB, free: 0.5742 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.001285/0.001285, allocations: 92.77 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.065e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.113/7.319, allocations: 2.182 GB / 3.066 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/7.319, allocations: 91.62 kB / 3.066 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.03/17.35, allocations: 1.891 GB / 4.957 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.204e-06/17.35, allocations: 0 / 4.957 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002349/17.35, allocations: 34.34 kB / 4.957 GB, free: 213.3 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007191/17.36, allocations: 1.274 MB / 4.958 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/17.36, allocations: 11.5 kB / 4.958 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/17.36, allocations: 199.2 kB / 4.959 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006833/17.36, allocations: 1.436 MB / 4.96 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/17.36, allocations: 21.33 kB / 4.96 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/17.36, allocations: 37.62 kB / 4.96 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/17.37, allocations: 0.7 MB / 4.961 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/17.37, allocations: 0.8458 MB / 4.962 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/17.37, allocations: 5.781 kB / 4.962 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/17.37, allocations: 3.906 kB / 4.962 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/17.37, allocations: 12.44 kB / 4.962 GB, free: 212.2 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.006566/17.38, allocations: 4.606 MB / 4.966 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/17.38, allocations: 4.076 MB / 4.97 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/17.38, allocations: 345 kB / 4.97 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/17.38, allocations: 191.8 kB / 4.971 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/17.38, allocations: 294.9 kB / 4.971 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006395/17.38, allocations: 11.64 kB / 4.971 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.587e-06/17.38, allocations: 0 / 4.971 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.002703/17.38, allocations: 0.821 MB / 4.972 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/17.38, allocations: 84.3 kB / 4.972 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/17.38, allocations: 0.8975 MB / 4.973 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/17.38, allocations: 33.45 kB / 4.973 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/17.39, allocations: 0.5215 MB / 4.973 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/17.39, allocations: 124.3 kB / 4.973 GB, free: 204 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/17.39, allocations: 0 / 4.973 GB, free: 204 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/17.39, allocations: 325.9 kB / 4.974 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/17.39, allocations: 214.1 kB / 4.974 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/17.39, allocations: 0.5335 MB / 4.974 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/17.39, allocations: 288 kB / 4.975 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/17.39, allocations: 3.531 kB / 4.975 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002814/17.39, allocations: 0.946 MB / 4.976 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004836/17.39, allocations: 2.213 MB / 4.978 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/17.39, allocations: 14.48 kB / 4.978 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006983/17.39, allocations: 227.3 kB / 4.978 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/17.39, allocations: 77.69 kB / 4.978 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/17.39, allocations: 1.11 MB / 4.979 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/17.4, allocations: 93.28 kB / 4.979 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/17.4, allocations: 33.48 kB / 4.979 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/17.4, allocations: 5.156 kB / 4.979 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001804/17.4, allocations: 0.6477 MB / 4.98 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/17.4, allocations: 7.281 kB / 4.98 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000897/17.4, allocations: 202.4 kB / 4.98 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/17.4, allocations: 86.66 kB / 4.98 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/17.4, allocations: 2.783 MB / 4.983 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/17.41, allocations: 89.81 kB / 4.983 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/17.41, allocations: 31.41 kB / 4.983 GB, free: 199 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.000224/17.41, allocations: 123.3 kB / 4.983 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001609/17.41, allocations: 0.6718 MB / 4.984 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/17.41, allocations: 98.47 kB / 4.984 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/17.41, allocations: 0.7118 MB / 4.985 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/17.41, allocations: 3.469 kB / 4.985 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/17.41, allocations: 0 / 4.985 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/17.41, allocations: 3.969 kB / 4.985 GB, free: 198.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 postOpt removeSimpleEquations (simulation): time 0.004293/17.41, allocations: 2.023 MB / 4.987 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/17.41, allocations: 0 / 4.987 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/17.41, allocations: 54.16 kB / 4.987 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/17.41, allocations: 135.6 kB / 4.987 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/17.41, allocations: 7.609 kB / 4.987 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009773/17.42, allocations: 0.8705 MB / 4.988 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/17.42, allocations: 3.312 kB / 4.988 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/17.42, allocations: 0.8934 MB / 4.988 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/17.42, allocations: 224 kB / 4.989 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/17.42, allocations: 7.641 kB / 4.989 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/17.42, allocations: 75.59 kB / 4.989 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/17.42, allocations: 37.09 kB / 4.989 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/17.42, allocations: 13.56 kB / 4.989 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001274/17.42, allocations: 0.6968 MB / 4.989 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/17.42, allocations: 2.969 kB / 4.989 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002581/17.42, allocations: 0.568 MB / 4.99 GB, free: 196.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003454/17.43, allocations: 3.01 MB / 4.993 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002364/17.43, allocations: 1.067 MB / 4.994 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/17.43, allocations: 0 / 4.994 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005446/17.43, allocations: 226 kB / 4.994 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005335/17.44, allocations: 0.591 MB / 4.995 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/17.44, allocations: 1.705 MB / 4.996 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/17.44, allocations: 1.244 MB / 4.998 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003451/17.44, allocations: 0.7218 MB / 4.998 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/17.45, allocations: 334.6 kB / 4.999 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/17.45, allocations: 3.406 kB / 4.999 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/17.55, allocations: 36.37 MB / 5.034 GB, free: 189 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/17.55, allocations: 214.4 kB / 5.034 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.011/21.56, allocations: 2.672 kB / 5.034 GB, free: 188.8 MB / 0.8698 GB