Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7883/0.7883, allocations: 141.8 MB / 149.1 MB, free: 3.738 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 181.1 kB / 181.9 MB, free: 15.5 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.4 MB / 436 MB, free: 8.637 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 92.55 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001901/0.001901, allocations: 281.9 kB / 0.5884 GB, free: 11.73 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.176e-05, allocations: 3.938 kB / 0.6759 GB, free: 2.09 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5512, allocations: 82.75 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.237/4.789, allocations: 1.829 GB / 2.585 GB, free: 244.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/4.789, allocations: 95.41 kB / 2.586 GB, free: 244 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.971/7.76, allocations: 0.9683 GB / 3.554 GB, free: 73.69 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.000152/7.76, allocations: 35.92 kB / 3.554 GB, free: 73.65 MB / 0.6982 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.004275/7.764, allocations: 1.185 MB / 3.555 GB, free: 72.41 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/7.764, allocations: 12.03 kB / 3.555 GB, free: 72.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/7.766, allocations: 198.4 kB / 3.555 GB, free: 72.21 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/7.77, allocations: 1.362 MB / 3.557 GB, free: 70.79 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/7.77, allocations: 16 kB / 3.557 GB, free: 70.77 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/7.77, allocations: 40 kB / 3.557 GB, free: 70.73 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000849/7.771, allocations: 0.5094 MB / 3.557 GB, free: 70.22 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008788/7.772, allocations: 0.7126 MB / 3.558 GB, free: 69.43 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/7.772, allocations: 3.938 kB / 3.558 GB, free: 69.42 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/7.772, allocations: 4 kB / 3.558 GB, free: 69.42 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/7.772, allocations: 12 kB / 3.558 GB, free: 69.41 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/7.776, allocations: 4.158 MB / 3.562 GB, free: 65 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/7.777, allocations: 488.7 kB / 3.562 GB, free: 64.52 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/7.777, allocations: 338.3 kB / 3.563 GB, free: 64.18 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/7.777, allocations: 198.2 kB / 3.563 GB, free: 63.95 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/7.778, allocations: 282.9 kB / 3.563 GB, free: 63.65 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/7.778, allocations: 0 / 3.563 GB, free: 63.65 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001866/7.779, allocations: 0.8371 MB / 3.564 GB, free: 62.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/7.779, allocations: 85.11 kB / 3.564 GB, free: 62.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009164/7.78, allocations: 0.8752 MB / 3.565 GB, free: 61.81 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/7.78, allocations: 29.7 kB / 3.565 GB, free: 61.77 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/7.781, allocations: 336.1 kB / 3.565 GB, free: 61.44 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/7.781, allocations: 106.4 kB / 3.565 GB, free: 61.33 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/7.781, allocations: 4 kB / 3.565 GB, free: 61.33 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/7.781, allocations: 326 kB / 3.566 GB, free: 61 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/7.781, allocations: 212.9 kB / 3.566 GB, free: 60.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/7.781, allocations: 0.5201 MB / 3.566 GB, free: 60.13 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/7.782, allocations: 294 kB / 3.567 GB, free: 59.85 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/7.782, allocations: 4 kB / 3.567 GB, free: 59.84 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001535/7.783, allocations: 0.9552 MB / 3.568 GB, free: 58.88 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003815/7.784, allocations: 2.096 MB / 3.57 GB, free: 56.62 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/7.784, allocations: 4 kB / 3.57 GB, free: 56.62 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/7.784, allocations: 283.2 kB / 3.57 GB, free: 56.34 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/7.784, allocations: 72.08 kB / 3.57 GB, free: 56.27 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/7.786, allocations: 1.254 MB / 3.571 GB, free: 54.99 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/7.787, allocations: 111.5 kB / 3.571 GB, free: 54.88 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/7.787, allocations: 27.98 kB / 3.571 GB, free: 54.86 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/7.787, allocations: 4 kB / 3.571 GB, free: 54.85 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/7.788, allocations: 0.6543 MB / 3.572 GB, free: 54.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/7.788, allocations: 8 kB / 3.572 GB, free: 54.19 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/7.789, allocations: 213.2 kB / 3.572 GB, free: 53.98 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/7.789, allocations: 79.75 kB / 3.572 GB, free: 53.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/7.792, allocations: 2.825 MB / 3.575 GB, free: 50.96 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/7.793, allocations: 87.66 kB / 3.575 GB, free: 50.88 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/7.793, allocations: 27.98 kB / 3.575 GB, free: 50.85 MB / 0.6982 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.0001549/7.793, allocations: 124.8 kB / 3.575 GB, free: 50.72 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/7.793, allocations: 102.7 kB / 3.575 GB, free: 50.62 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/7.794, allocations: 0.718 MB / 3.576 GB, free: 49.88 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/7.794, allocations: 8 kB / 3.576 GB, free: 49.88 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/7.794, allocations: 3.984 kB / 3.576 GB, free: 49.87 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/7.794, allocations: 0 / 3.576 GB, free: 49.87 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/7.796, allocations: 1.613 MB / 3.578 GB, free: 48.19 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/7.796, allocations: 3.984 kB / 3.578 GB, free: 48.18 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/7.797, allocations: 36.14 kB / 3.578 GB, free: 48.15 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/7.797, allocations: 224.9 kB / 3.578 GB, free: 47.93 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/7.797, allocations: 4 kB / 3.578 GB, free: 47.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000892/7.798, allocations: 1.114 MB / 3.579 GB, free: 46.79 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/7.798, allocations: 4 kB / 3.579 GB, free: 46.78 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009394/7.799, allocations: 0.9143 MB / 3.58 GB, free: 45.79 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/7.799, allocations: 227.8 kB / 3.58 GB, free: 45.55 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/7.799, allocations: 4 kB / 3.58 GB, free: 45.54 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/7.8, allocations: 67.83 kB / 3.58 GB, free: 45.48 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/7.8, allocations: 31.86 kB / 3.58 GB, free: 45.45 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/7.8, allocations: 12 kB / 3.58 GB, free: 45.43 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007431/7.801, allocations: 0.6806 MB / 3.581 GB, free: 44.74 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001603/7.803, allocations: 0.4954 MB / 3.581 GB, free: 44.25 MB / 0.6982 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.001402/7.804, allocations: 1.046 MB / 3.582 GB, free: 43.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002138/7.806, allocations: 1.085 MB / 3.584 GB, free: 42.09 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/7.806, allocations: 0 / 3.584 GB, free: 42.09 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004774/7.807, allocations: 279.9 kB / 3.584 GB, free: 41.82 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/7.809, allocations: 0.523 MB / 3.584 GB, free: 41.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/7.812, allocations: 1.41 MB / 3.586 GB, free: 39.84 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/7.812, allocations: 1.263 MB / 3.587 GB, free: 38.55 MB / 0.6982 GB Notification: Performance of SimCode: time 6.92e-07/7.812, allocations: 0 / 3.587 GB, free: 38.55 MB / 0.6982 GB Notification: Performance of Templates: time 0.03712/7.85, allocations: 24.31 MB / 3.611 GB, free: 14.4 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)