Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.3/2.3, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.001513/0.001513, allocations: 178.1 kB / 315.4 MB, free: 4.012 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.053/2.053, allocations: 205.3 MB / 0.5662 GB, free: 0.5078 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.001128/0.001128, allocations: 93.36 kB / 0.6704 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.386e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.168/7.373, allocations: 2.182 GB / 3.066 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/7.373, allocations: 91.5 kB / 3.066 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.86/12.23, allocations: 0.917 GB / 3.983 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/12.23, allocations: 0 / 3.983 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001917/12.23, allocations: 28.8 kB / 3.983 GB, free: 241.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006559/12.24, allocations: 1.23 MB / 3.984 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/12.24, allocations: 10.53 kB / 3.984 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/12.24, allocations: 185.9 kB / 3.984 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00656/12.25, allocations: 1.384 MB / 3.986 GB, free: 240 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/12.25, allocations: 15.31 kB / 3.986 GB, free: 240 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/12.25, allocations: 41.19 kB / 3.986 GB, free: 240 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001286/12.25, allocations: 489.3 kB / 3.986 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/12.25, allocations: 0.7001 MB / 3.987 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/12.25, allocations: 3.938 kB / 3.987 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/12.25, allocations: 3.938 kB / 3.987 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/12.25, allocations: 19 kB / 3.987 GB, free: 239.4 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.005696/12.26, allocations: 4.079 MB / 3.991 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/12.26, allocations: 464.1 kB / 3.991 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/12.26, allocations: 334.4 kB / 3.992 GB, free: 236 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/12.26, allocations: 200.9 kB / 3.992 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/12.26, allocations: 281.8 kB / 3.992 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005504/12.26, allocations: 21.72 kB / 3.992 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.955e-06/12.26, allocations: 0 / 3.992 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.002786/12.26, allocations: 0.8074 MB / 3.993 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/12.26, allocations: 88.52 kB / 3.993 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/12.26, allocations: 0.8504 MB / 3.994 GB, free: 235 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/12.27, allocations: 25.7 kB / 3.994 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/12.27, allocations: 492.6 kB / 3.994 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/12.27, allocations: 106.8 kB / 3.994 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/12.27, allocations: 0 / 3.994 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/12.27, allocations: 329 kB / 3.995 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/12.27, allocations: 204 kB / 3.995 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/12.27, allocations: 0.5104 MB / 3.995 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/12.27, allocations: 282.6 kB / 3.996 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/12.27, allocations: 3.062 kB / 3.996 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002908/12.27, allocations: 0.942 MB / 3.997 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004809/12.27, allocations: 2.133 MB / 3.999 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/12.27, allocations: 3.219 kB / 3.999 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008546/12.27, allocations: 267.4 kB / 3.999 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/12.27, allocations: 74.23 kB / 3.999 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/12.27, allocations: 1.201 MB / 4 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/12.28, allocations: 75.66 kB / 4 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/12.28, allocations: 33.47 kB / 4 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/12.28, allocations: 4 kB / 4 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/12.28, allocations: 0.6532 MB / 4.001 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/12.28, allocations: 14.84 kB / 4.001 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009138/12.28, allocations: 208 kB / 4.001 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/12.28, allocations: 65.81 kB / 4.001 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/12.29, allocations: 2.925 MB / 4.004 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/12.29, allocations: 76.64 kB / 4.004 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/12.29, allocations: 22.66 kB / 4.004 GB, free: 228.1 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_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 (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002172/12.29, allocations: 126.4 kB / 4.004 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001652/12.29, allocations: 0.6673 MB / 4.005 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/12.29, allocations: 97.03 kB / 4.005 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/12.29, allocations: 0.6958 MB / 4.006 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/12.29, allocations: 7.875 kB / 4.006 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/12.29, allocations: 3.953 kB / 4.006 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/12.29, allocations: 3.875 kB / 4.006 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/12.3, allocations: 1.592 MB / 4.007 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/12.3, allocations: 0 / 4.007 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/12.3, allocations: 41.31 kB / 4.007 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006439/12.3, allocations: 219.8 kB / 4.008 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/12.3, allocations: 10.66 kB / 4.008 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/12.3, allocations: 1.05 MB / 4.009 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/12.3, allocations: 0 / 4.009 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/12.3, allocations: 0.9078 MB / 4.009 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/12.3, allocations: 221.7 kB / 4.01 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/12.3, allocations: 3.875 kB / 4.01 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/12.3, allocations: 65.31 kB / 4.01 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/12.3, allocations: 25.55 kB / 4.01 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/12.3, allocations: 18.41 kB / 4.01 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001221/12.3, allocations: 0.6601 MB / 4.01 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/12.3, allocations: 0 / 4.01 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002418/12.31, allocations: 0.5162 MB / 4.011 GB, free: 224.8 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_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 (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003413/12.31, allocations: 2.757 MB / 4.014 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003661/12.31, allocations: 1.171 MB / 4.015 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/12.31, allocations: 7.562 kB / 4.015 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008555/12.31, allocations: 262.9 kB / 4.015 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/12.32, allocations: 0.5409 MB / 4.016 GB, free: 222 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/12.32, allocations: 1.62 MB / 4.017 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/12.32, allocations: 1.204 MB / 4.018 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003086/12.33, allocations: 0.6665 MB / 4.019 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/12.33, allocations: 301.6 kB / 4.019 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/12.33, allocations: 0 / 4.019 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/12.43, allocations: 33.38 MB / 4.052 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/12.43, allocations: 182.3 kB / 4.052 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.937/16.37, allocations: 3.094 kB / 4.052 GB, free: 189.9 MB / 0.8698 GB