Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") [: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 8.1.4-maint.8.1.x/package.mo): time 1.587/1.587, allocations: 289.8 MB / 297.1 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 184.1 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.86 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.167e-05, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7681, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.638/5.406, allocations: 2.064 GB / 3.036 GB, free: 8.625 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/5.406, allocations: 96.62 kB / 3.036 GB, free: 8.531 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.381/8.788, allocations: 0.9608 GB / 3.997 GB, free: 146 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.1e-05/8.788, allocations: 27.98 kB / 3.997 GB, free: 145.9 MB / 0.948 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.003517/8.792, allocations: 1.176 MB / 3.998 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/8.792, allocations: 8.031 kB / 3.998 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009842/8.793, allocations: 194.4 kB / 3.998 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/8.796, allocations: 1.369 MB / 4 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/8.796, allocations: 16 kB / 4 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/8.796, allocations: 40 kB / 4 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006926/8.797, allocations: 0.5094 MB / 4 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/8.797, allocations: 0.7133 MB / 4.001 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/8.797, allocations: 0 / 4.001 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/8.798, allocations: 7.984 kB / 4.001 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/8.798, allocations: 15.98 kB / 4.001 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/8.801, allocations: 4.159 MB / 4.005 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/8.801, allocations: 482.3 kB / 4.006 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/8.801, allocations: 341.2 kB / 4.006 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/8.802, allocations: 202.7 kB / 4.006 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/8.802, allocations: 278.9 kB / 4.006 GB, free: 135.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/8.802, allocations: 0 / 4.006 GB, free: 135.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001726/8.804, allocations: 0.8298 MB / 4.007 GB, free: 135.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/8.804, allocations: 93.03 kB / 4.007 GB, free: 135 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/8.805, allocations: 0.8713 MB / 4.008 GB, free: 134.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/8.805, allocations: 29.7 kB / 4.008 GB, free: 134.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/8.805, allocations: 336.2 kB / 4.008 GB, free: 133.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/8.805, allocations: 110.4 kB / 4.009 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/8.805, allocations: 0 / 4.009 GB, free: 133.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/8.805, allocations: 322 kB / 4.009 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/8.805, allocations: 212.9 kB / 4.009 GB, free: 133.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/8.806, allocations: 0.5276 MB / 4.01 GB, free: 132.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/8.806, allocations: 310.2 kB / 4.01 GB, free: 132.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/8.806, allocations: 4 kB / 4.01 GB, free: 132.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001505/8.807, allocations: 0.9428 MB / 4.011 GB, free: 131.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003293/8.808, allocations: 2.104 MB / 4.013 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/8.808, allocations: 4 kB / 4.013 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/8.808, allocations: 277.7 kB / 4.013 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/8.809, allocations: 75.89 kB / 4.013 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/8.81, allocations: 1.262 MB / 4.014 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/8.811, allocations: 103.4 kB / 4.015 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/8.811, allocations: 24 kB / 4.015 GB, free: 127.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/8.811, allocations: 5.25 kB / 4.015 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/8.812, allocations: 0.6564 MB / 4.015 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/8.812, allocations: 8 kB / 4.015 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/8.813, allocations: 225 kB / 4.015 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/8.813, allocations: 71.84 kB / 4.016 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/8.816, allocations: 2.835 MB / 4.018 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/8.817, allocations: 91.66 kB / 4.018 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/8.817, allocations: 20 kB / 4.018 GB, free: 123.1 MB / 0.948 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.0001267/8.817, allocations: 116.9 kB / 4.019 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/8.817, allocations: 98.78 kB / 4.019 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/8.818, allocations: 0.718 MB / 4.019 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/8.818, allocations: 7.938 kB / 4.019 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/8.818, allocations: 4 kB / 4.019 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/8.818, allocations: 3.906 kB / 4.019 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/8.82, allocations: 1.609 MB / 4.021 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/8.82, allocations: 0 / 4.021 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/8.82, allocations: 36.14 kB / 4.021 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/8.821, allocations: 227.3 kB / 4.021 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/8.821, allocations: 7.984 kB / 4.021 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008924/8.822, allocations: 1.112 MB / 4.022 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/8.822, allocations: 4.188 kB / 4.022 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009246/8.822, allocations: 0.9246 MB / 4.023 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/8.823, allocations: 215.9 kB / 4.023 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/8.823, allocations: 7.984 kB / 4.023 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/8.824, allocations: 67.78 kB / 4.023 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/8.824, allocations: 31.86 kB / 4.023 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/8.824, allocations: 15.98 kB / 4.023 GB, free: 117.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007311/8.824, allocations: 0.6806 MB / 4.024 GB, free: 117 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001472/8.826, allocations: 0.4955 MB / 4.025 GB, free: 116.5 MB / 0.948 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.001495/8.827, allocations: 1.028 MB / 4.026 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002014/8.829, allocations: 1.084 MB / 4.027 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/8.829, allocations: 4.062 kB / 4.027 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/8.83, allocations: 279.5 kB / 4.027 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/8.833, allocations: 0.5251 MB / 4.027 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/8.835, allocations: 1.41 MB / 4.029 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/8.836, allocations: 1.259 MB / 4.03 GB, free: 110.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/8.836, allocations: 0 / 4.03 GB, free: 110.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03526/8.871, allocations: 24.3 MB / 4.054 GB, free: 86.64 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)