Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.828/0.828, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009769, allocations: 90.16 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3305/0.3315, allocations: 82.9 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.5009, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.664/5.165, allocations: 2.138 GB / 2.759 GB, free: 29.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/5.165, allocations: 87.94 kB / 2.759 GB, free: 29.76 MB / 0.6355 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.544/8.709, allocations: 0.9488 GB / 3.708 GB, free: 94.72 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/8.709, allocations: 12 kB / 3.708 GB, free: 94.71 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/8.711, allocations: 186.5 kB / 3.708 GB, free: 94.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/8.715, allocations: 1.392 MB / 3.709 GB, free: 93.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/8.716, allocations: 16 kB / 3.709 GB, free: 93.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/8.716, allocations: 36 kB / 3.709 GB, free: 93.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/8.717, allocations: 0.5172 MB / 3.71 GB, free: 92.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/8.718, allocations: 0.7001 MB / 3.711 GB, free: 91.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/8.718, allocations: 0 / 3.711 GB, free: 91.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/8.718, allocations: 4 kB / 3.711 GB, free: 91.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/8.718, allocations: 12 kB / 3.711 GB, free: 91.76 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/8.724, allocations: 4.003 MB / 3.715 GB, free: 87.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/8.724, allocations: 0.4946 MB / 3.715 GB, free: 87.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/8.725, allocations: 338.7 kB / 3.715 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/8.725, allocations: 201.1 kB / 3.716 GB, free: 86.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/8.725, allocations: 288.8 kB / 3.716 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=32): time 2.775e-06/8.726, allocations: 0 / 3.716 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32): time 0.01317/8.739, allocations: 2.355 MB / 3.718 GB, free: 83.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/8.739, allocations: 92.98 kB / 3.718 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/8.74, allocations: 0.8672 MB / 3.719 GB, free: 82.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/8.741, allocations: 29.7 kB / 3.719 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/8.741, allocations: 336.2 kB / 3.719 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/8.741, allocations: 114.4 kB / 3.72 GB, free: 82.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/8.741, allocations: 0 / 3.72 GB, free: 82.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001264/8.742, allocations: 329.9 kB / 3.72 GB, free: 82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/8.742, allocations: 336.7 kB / 3.72 GB, free: 81.67 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/8.743, allocations: 0.6402 MB / 3.721 GB, free: 80.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/8.743, allocations: 397.9 kB / 3.721 GB, free: 80.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/8.743, allocations: 4 kB / 3.721 GB, free: 80.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.01098/8.754, allocations: 2.293 MB / 3.723 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004557/8.755, allocations: 2.024 MB / 3.725 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/8.755, allocations: 4 kB / 3.725 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/8.756, allocations: 0.5969 MB / 3.726 GB, free: 75.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/8.756, allocations: 67.91 kB / 3.726 GB, free: 75.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/8.763, allocations: 2.46 MB / 3.728 GB, free: 72.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/8.765, allocations: 155.4 kB / 3.729 GB, free: 72.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/8.765, allocations: 31.97 kB / 3.729 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/8.765, allocations: 4 kB / 3.729 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/8.766, allocations: 0.6452 MB / 3.729 GB, free: 72.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/8.766, allocations: 4 kB / 3.729 GB, free: 72.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/8.767, allocations: 220.8 kB / 3.729 GB, free: 71.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/8.767, allocations: 68.03 kB / 3.73 GB, free: 71.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/8.77, allocations: 2.826 MB / 3.732 GB, free: 68.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/8.772, allocations: 91.58 kB / 3.732 GB, free: 68.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/8.772, allocations: 27.98 kB / 3.732 GB, free: 68.69 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (34): * Single equations (assignments): 32 * 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.0002354/8.772, allocations: 124.8 kB / 3.733 GB, free: 68.56 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/8.772, allocations: 90.88 kB / 3.733 GB, free: 68.47 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/8.772, allocations: 105.2 kB / 3.733 GB, free: 68.37 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/8.772, allocations: 4 kB / 3.733 GB, free: 68.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/8.773, allocations: 3.906 kB / 3.733 GB, free: 68.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/8.773, allocations: 7.984 kB / 3.733 GB, free: 68.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009739/8.782, allocations: 2.898 MB / 3.736 GB, free: 65.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/8.782, allocations: 4 kB / 3.736 GB, free: 65.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/8.783, allocations: 27.92 kB / 3.736 GB, free: 65.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009375/8.783, allocations: 0.5583 MB / 3.736 GB, free: 64.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/8.784, allocations: 11.98 kB / 3.736 GB, free: 64.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/8.808, allocations: 7.658 MB / 3.744 GB, free: 57.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/8.808, allocations: 0 / 3.744 GB, free: 57.02 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008519/8.816, allocations: 2.034 MB / 3.746 GB, free: 54.91 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008802/8.825, allocations: 2.469 MB / 3.748 GB, free: 52.37 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/8.826, allocations: 179.8 kB / 3.748 GB, free: 52.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/8.826, allocations: 4 kB / 3.748 GB, free: 52.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/8.828, allocations: 123.8 kB / 3.748 GB, free: 52.05 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/8.828, allocations: 31.86 kB / 3.748 GB, free: 52.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/8.828, allocations: 19.98 kB / 3.748 GB, free: 52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001141/8.829, allocations: 0.6765 MB / 3.749 GB, free: 51.31 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004248/8.833, allocations: 0.7258 MB / 3.75 GB, free: 50.58 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (12): * Single equations (assignments): 9 * 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.002185/8.836, allocations: 1.041 MB / 3.751 GB, free: 49.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00682/8.842, allocations: 1.869 MB / 3.753 GB, free: 47.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/8.842, allocations: 0 / 3.753 GB, free: 47.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00442/8.847, allocations: 1.087 MB / 3.754 GB, free: 46.67 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/8.85, allocations: 0.5281 MB / 3.754 GB, free: 46.15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/8.854, allocations: 1.68 MB / 3.756 GB, free: 44.45 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/8.855, allocations: 1.27 MB / 3.757 GB, free: 43.15 MB / 0.6667 GB Notification: Performance of SimCode: time 1.492e-06/8.855, allocations: 0 / 3.757 GB, free: 43.15 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)