Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.056/2.056, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 180.7 kB / 487 MB, free: 5.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.4 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 94.33 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6448/0.646, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.9389, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.541/5.48, allocations: 1.868 GB / 3.074 GB, free: 436.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/5.48, allocations: 88.11 kB / 3.074 GB, free: 436.7 MB / 1.151 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 3.059/8.539, allocations: 0.9695 GB / 4.043 GB, free: 355.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/8.539, allocations: 8.531 kB / 4.043 GB, free: 355.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/8.54, allocations: 193.9 kB / 4.044 GB, free: 355.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/8.544, allocations: 1.365 MB / 4.045 GB, free: 355 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/8.544, allocations: 16.53 kB / 4.045 GB, free: 355 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/8.544, allocations: 43.91 kB / 4.045 GB, free: 355 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000972/8.545, allocations: 0.5023 MB / 4.045 GB, free: 354.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/8.546, allocations: 0.7063 MB / 4.046 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/8.546, allocations: 8.969 kB / 4.046 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/8.546, allocations: 2.438 kB / 4.046 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/8.546, allocations: 13.34 kB / 4.046 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/8.55, allocations: 4.157 MB / 4.05 GB, free: 350.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/8.551, allocations: 478.9 kB / 4.051 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/8.551, allocations: 347.9 kB / 4.051 GB, free: 350.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/8.552, allocations: 191.6 kB / 4.051 GB, free: 350.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/8.552, allocations: 294.6 kB / 4.051 GB, free: 349.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/8.552, allocations: 3.938 kB / 4.051 GB, free: 349.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.002058/8.554, allocations: 0.8308 MB / 4.052 GB, free: 349.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/8.554, allocations: 84.55 kB / 4.052 GB, free: 349.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/8.555, allocations: 0.8714 MB / 4.053 GB, free: 348.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/8.555, allocations: 29.3 kB / 4.053 GB, free: 348.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/8.556, allocations: 341 kB / 4.054 GB, free: 348.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/8.556, allocations: 109.2 kB / 4.054 GB, free: 348.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/8.556, allocations: 0 / 4.054 GB, free: 348.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/8.556, allocations: 328.8 kB / 4.054 GB, free: 348.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/8.556, allocations: 209.7 kB / 4.054 GB, free: 348.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/8.557, allocations: 0.5198 MB / 4.055 GB, free: 347.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/8.557, allocations: 304.6 kB / 4.055 GB, free: 347.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/8.557, allocations: 1.469 kB / 4.055 GB, free: 347.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002007/8.559, allocations: 0.9602 MB / 4.056 GB, free: 347 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004849/8.559, allocations: 2.099 MB / 4.058 GB, free: 344.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/8.56, allocations: 6.188 kB / 4.058 GB, free: 344.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/8.56, allocations: 276.8 kB / 4.058 GB, free: 344.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/8.561, allocations: 66.97 kB / 4.058 GB, free: 344.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/8.563, allocations: 1.27 MB / 4.06 GB, free: 343.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/8.564, allocations: 98.14 kB / 4.06 GB, free: 343.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/8.564, allocations: 29.2 kB / 4.06 GB, free: 343.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/8.564, allocations: 4.844 kB / 4.06 GB, free: 343.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/8.565, allocations: 0.6496 MB / 4.06 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/8.565, allocations: 13.31 kB / 4.06 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/8.566, allocations: 213 kB / 4.06 GB, free: 343.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/8.566, allocations: 74.34 kB / 4.061 GB, free: 343.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/8.57, allocations: 2.829 MB / 4.063 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/8.571, allocations: 92.39 kB / 4.063 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/8.571, allocations: 29.23 kB / 4.063 GB, free: 341.2 MB / 1.151 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.000212/8.572, allocations: 122.3 kB / 4.064 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/8.572, allocations: 99.28 kB / 4.064 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/8.573, allocations: 0.7122 MB / 4.064 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/8.573, allocations: 7.875 kB / 4.064 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/8.573, allocations: 8.422 kB / 4.064 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/8.573, allocations: 5.062 kB / 4.064 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/8.576, allocations: 1.61 MB / 4.066 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/8.576, allocations: 3.984 kB / 4.066 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/8.576, allocations: 31.92 kB / 4.066 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/8.576, allocations: 230.4 kB / 4.066 GB, free: 338.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/8.576, allocations: 8 kB / 4.066 GB, free: 338.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009364/8.577, allocations: 1.11 MB / 4.067 GB, free: 337.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/8.577, allocations: 4 kB / 4.067 GB, free: 337.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000929/8.578, allocations: 0.9188 MB / 4.068 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001137/8.579, allocations: 1.34 MB / 4.069 GB, free: 335.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/8.58, allocations: 215.9 kB / 4.07 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/8.58, allocations: 4 kB / 4.07 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/8.58, allocations: 74.39 kB / 4.07 GB, free: 335 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/8.58, allocations: 31.86 kB / 4.07 GB, free: 335 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/8.58, allocations: 12 kB / 4.07 GB, free: 335 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007442/8.581, allocations: 0.6806 MB / 4.07 GB, free: 334.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00311/8.584, allocations: 0.6785 MB / 4.071 GB, free: 333.6 MB / 1.151 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.001524/8.586, allocations: 1.032 MB / 4.072 GB, free: 332.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002096/8.588, allocations: 1.095 MB / 4.073 GB, free: 331.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/8.588, allocations: 2.812 kB / 4.073 GB, free: 331.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/8.588, allocations: 280.7 kB / 4.073 GB, free: 331.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/8.591, allocations: 0.5223 MB / 4.074 GB, free: 331 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/8.593, allocations: 1.41 MB / 4.075 GB, free: 329.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/8.594, allocations: 1.264 MB / 4.077 GB, free: 328.3 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/8.594, allocations: 0 / 4.077 GB, free: 328.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)