Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009985/0.0009984, allocations: 171.7 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205 MB / 0.576 GB, free: 20.94 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.000666/0.000666, allocations: 89.72 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 10.16 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1436/0.2977, allocations: 159.2 MB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.3005, allocations: 1.832 MB / 1.053 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.3009, allocations: 11.94 kB / 1.053 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.3014, allocations: 127.2 kB / 1.054 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.3025, allocations: 0.5019 MB / 1.054 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.3035, allocations: 348.4 kB / 1.054 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3407/0.6442, allocations: 3.495 MB / 1.058 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.6468, allocations: 2.201 MB / 1.06 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.6484, allocations: 0.8729 MB / 1.061 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008519/0.6493, allocations: 0.7296 MB / 1.062 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.6494, allocations: 35.06 kB / 1.062 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.6508, allocations: 0.8007 MB / 1.062 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.6512, allocations: 287.9 kB / 1.063 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.6519, allocations: 0.5098 MB / 1.063 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.6537, allocations: 1.407 MB / 1.064 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.6538, allocations: 4 kB / 1.064 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6538, allocations: 0.9062 kB / 1.064 GB, free: 1.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.6538, allocations: 1.859 kB / 1.064 GB, free: 1.848 MB / 0.698 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.002402/0.6562, allocations: 1.326 MB / 1.066 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6563, allocations: 12.28 kB / 1.066 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.6564, allocations: 91.62 kB / 1.066 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.6571, allocations: 192.8 kB / 1.066 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.6586, allocations: 0.8354 MB / 1.067 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.6587, allocations: 42.62 kB / 1.067 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.6588, allocations: 59.53 kB / 1.067 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.6601, allocations: 0.8343 MB / 1.068 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6601, allocations: 4.312 kB / 1.068 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.6601, allocations: 27.91 kB / 1.068 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6602, allocations: 17.69 kB / 1.068 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/0.6612, allocations: 0.5768 MB / 1.068 GB, free: 16.34 MB / 0.7136 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.004052/0.6652, allocations: 4.264 MB / 1.073 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.666, allocations: 457.2 kB / 1.073 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.6665, allocations: 351.7 kB / 1.073 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.6667, allocations: 188.9 kB / 1.074 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.6673, allocations: 331.6 kB / 1.074 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002728/0.6675, allocations: 29.28 kB / 1.074 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/0.6676, allocations: 0 / 1.074 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.005269/0.6728, allocations: 1.615 MB / 1.075 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.6729, allocations: 83.17 kB / 1.076 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.6744, allocations: 1.157 MB / 1.077 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.6745, allocations: 37.98 kB / 1.077 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.6748, allocations: 481.8 kB / 1.077 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.6749, allocations: 114.8 kB / 1.077 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.6749, allocations: 48.22 kB / 1.077 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.675, allocations: 322.8 kB / 1.078 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.6754, allocations: 238 kB / 1.078 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.676, allocations: 0.5484 MB / 1.078 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/0.6769, allocations: 0.6874 MB / 1.079 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6769, allocations: 4 kB / 1.079 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002298/0.6792, allocations: 1.124 MB / 1.08 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.6794, allocations: 281 kB / 1.08 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6794, allocations: 5.531 kB / 1.08 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.6809, allocations: 441.7 kB / 1.081 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.6813, allocations: 102.9 kB / 1.081 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.6826, allocations: 1.11 MB / 1.082 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.6836, allocations: 90.22 kB / 1.082 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.6837, allocations: 31.14 kB / 1.082 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.6837, allocations: 3.031 kB / 1.082 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/0.685, allocations: 0.8001 MB / 1.083 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6851, allocations: 10.56 kB / 1.083 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/0.6856, allocations: 229.8 kB / 1.083 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.6859, allocations: 100 kB / 1.083 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.6892, allocations: 3.086 MB / 1.086 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/0.6901, allocations: 83.38 kB / 1.086 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.6902, allocations: 23.75 kB / 1.086 GB, free: 8.891 MB / 0.7136 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006169/0.6908, allocations: 466.2 kB / 1.087 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.691, allocations: 110.7 kB / 1.087 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.6922, allocations: 0.7829 MB / 1.088 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6922, allocations: 3.125 kB / 1.088 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6922, allocations: 2.625 kB / 1.088 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6923, allocations: 7.078 kB / 1.088 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.6947, allocations: 1.741 MB / 1.089 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6947, allocations: 0 / 1.089 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.6949, allocations: 66.69 kB / 1.089 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.6954, allocations: 276.1 kB / 1.09 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.6955, allocations: 9.844 kB / 1.09 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/0.6964, allocations: 1.043 MB / 1.091 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6964, allocations: 2.938 kB / 1.091 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.6977, allocations: 0.9097 MB / 1.092 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.698, allocations: 220.1 kB / 1.092 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6982, allocations: 11 kB / 1.092 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.6988, allocations: 68.59 kB / 1.092 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.6989, allocations: 31.84 kB / 1.092 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.6989, allocations: 18.33 kB / 1.092 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000925/0.6999, allocations: 0.8203 MB / 1.093 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6999, allocations: 0 / 1.093 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001313/0.7012, allocations: 475.2 kB / 1.093 GB, free: 6.875 MB / 0.7136 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001591/0.7028, allocations: 1.428 MB / 1.095 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.7052, allocations: 1.281 MB / 1.096 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7052, allocations: 0 / 1.096 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.7059, allocations: 317.1 kB / 1.096 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/0.709, allocations: 0.6264 MB / 1.097 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.7251, allocations: 9.981 MB / 1.107 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008755/0.726, allocations: 1.189 MB / 1.108 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001078/0.7271, allocations: 342.3 kB / 1.108 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.7275, allocations: 324.6 kB / 1.108 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/0.7275, allocations: 0 / 1.108 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/1.041, allocations: 29.97 MB / 1.138 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/1.041, allocations: 307.7 kB / 1.138 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.994, allocations: 0 / 1.138 GB, free: 3.094 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)