Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") [: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.7409/0.7409, allocations: 141.8 MB / 149.1 MB, free: 4.469 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.001133/0.001133, allocations: 184.3 kB / 181.9 MB, free: 132 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.3 MB / 436 MB, free: 9.309 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.0009771/0.0009771, allocations: 96.81 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 281.5 kB / 0.5884 GB, free: 12.28 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.764e-06, allocations: 0 / 0.6759 GB, free: 2.645 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4495, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.929/4.378, allocations: 1.829 GB / 2.586 GB, free: 268.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/4.379, allocations: 97.59 kB / 2.586 GB, free: 268 MB / 0.6982 GB Notification: Performance of FrontEnd: time 6.285/10.66, allocations: 1.804 GB / 4.389 GB, free: 65.04 MB / 0.6983 GB Notification: Performance of Transformations before backend: time 0.0001724/10.66, allocations: 31.98 kB / 4.389 GB, free: 65.01 MB / 0.6983 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.004406/10.67, allocations: 1.186 MB / 4.391 GB, free: 63.77 MB / 0.6983 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/10.67, allocations: 11.97 kB / 4.391 GB, free: 63.76 MB / 0.6983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/10.67, allocations: 194.4 kB / 4.391 GB, free: 63.57 MB / 0.6983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/10.67, allocations: 1.373 MB / 4.392 GB, free: 62.14 MB / 0.6983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/10.67, allocations: 23.94 kB / 4.392 GB, free: 62.11 MB / 0.6983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/10.67, allocations: 36 kB / 4.392 GB, free: 62.08 MB / 0.6983 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008645/10.67, allocations: 0.5055 MB / 4.393 GB, free: 61.57 MB / 0.6983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/10.68, allocations: 0.7123 MB / 4.393 GB, free: 60.78 MB / 0.6983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/10.68, allocations: 3.938 kB / 4.393 GB, free: 60.77 MB / 0.6983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/10.68, allocations: 4 kB / 4.393 GB, free: 60.77 MB / 0.6983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/10.68, allocations: 16 kB / 4.393 GB, free: 60.75 MB / 0.6983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/10.68, allocations: 4.162 MB / 4.397 GB, free: 56.35 MB / 0.6983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/10.68, allocations: 482.2 kB / 4.398 GB, free: 55.87 MB / 0.6983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/10.68, allocations: 346.8 kB / 4.398 GB, free: 55.52 MB / 0.6983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/10.68, allocations: 194.2 kB / 4.398 GB, free: 55.3 MB / 0.6983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/10.68, allocations: 282.9 kB / 4.399 GB, free: 55 MB / 0.6983 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/10.68, allocations: 0 / 4.399 GB, free: 55 MB / 0.6983 GB Notification: Performance of matching and sorting (n=33): time 0.001877/10.68, allocations: 0.8216 MB / 4.4 GB, free: 54.17 MB / 0.6983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/10.68, allocations: 85.11 kB / 4.4 GB, free: 54.07 MB / 0.6983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/10.68, allocations: 0.8714 MB / 4.4 GB, free: 53.18 MB / 0.6983 GB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/10.68, allocations: 29.7 kB / 4.4 GB, free: 53.14 MB / 0.6983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/10.69, allocations: 332.3 kB / 4.401 GB, free: 52.81 MB / 0.6983 GB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/10.69, allocations: 114.4 kB / 4.401 GB, free: 52.7 MB / 0.6983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/10.69, allocations: 0 / 4.401 GB, free: 52.7 MB / 0.6983 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/10.69, allocations: 322 kB / 4.401 GB, free: 52.38 MB / 0.6983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/10.69, allocations: 208.9 kB / 4.401 GB, free: 52.18 MB / 0.6983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/10.69, allocations: 0.528 MB / 4.402 GB, free: 51.5 MB / 0.6983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/10.69, allocations: 294 kB / 4.402 GB, free: 51.21 MB / 0.6983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/10.69, allocations: 112 / 4.402 GB, free: 51.21 MB / 0.6983 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001591/10.69, allocations: 0.9631 MB / 4.403 GB, free: 50.24 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005603/10.69, allocations: 2.095 MB / 4.405 GB, free: 47.99 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/10.69, allocations: 4 kB / 4.405 GB, free: 47.98 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/10.69, allocations: 257.5 kB / 4.405 GB, free: 47.73 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/10.69, allocations: 72 kB / 4.406 GB, free: 47.66 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/10.69, allocations: 1.184 MB / 4.407 GB, free: 46.45 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/10.69, allocations: 103.5 kB / 4.407 GB, free: 46.35 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/10.69, allocations: 24 kB / 4.407 GB, free: 46.33 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/10.69, allocations: 8 kB / 4.407 GB, free: 46.32 MB / 0.6983 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/10.69, allocations: 0.643 MB / 4.407 GB, free: 45.68 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/10.69, allocations: 12.12 kB / 4.407 GB, free: 45.66 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/10.69, allocations: 220.9 kB / 4.408 GB, free: 45.45 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/10.69, allocations: 67.91 kB / 4.408 GB, free: 45.38 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/10.7, allocations: 2.789 MB / 4.41 GB, free: 42.47 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/10.7, allocations: 95.58 kB / 4.411 GB, free: 42.38 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/10.7, allocations: 27.98 kB / 4.411 GB, free: 42.35 MB / 0.6983 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.000156/10.7, allocations: 126.7 kB / 4.411 GB, free: 42.22 MB / 0.6983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/10.7, allocations: 94.78 kB / 4.411 GB, free: 42.13 MB / 0.6983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/10.7, allocations: 0.7256 MB / 4.411 GB, free: 41.39 MB / 0.6983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/10.7, allocations: 4 kB / 4.411 GB, free: 41.39 MB / 0.6983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/10.7, allocations: 4 kB / 4.411 GB, free: 41.38 MB / 0.6983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/10.7, allocations: 0 / 4.411 GB, free: 41.38 MB / 0.6983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/10.7, allocations: 1.609 MB / 4.413 GB, free: 39.7 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/10.7, allocations: 4.094 kB / 4.413 GB, free: 39.7 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/10.7, allocations: 27.92 kB / 4.413 GB, free: 39.67 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/10.7, allocations: 213.2 kB / 4.413 GB, free: 39.46 MB / 0.6983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/10.7, allocations: 4 kB / 4.413 GB, free: 39.46 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007287/10.7, allocations: 1.043 MB / 4.414 GB, free: 38.39 MB / 0.6983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/10.7, allocations: 3.984 kB / 4.414 GB, free: 38.39 MB / 0.6983 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000929/10.7, allocations: 0.9179 MB / 4.415 GB, free: 37.39 MB / 0.6983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/10.7, allocations: 219.8 kB / 4.415 GB, free: 37.16 MB / 0.6983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/10.7, allocations: 4 kB / 4.415 GB, free: 37.15 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/10.7, allocations: 63.83 kB / 4.415 GB, free: 37.09 MB / 0.6983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/10.7, allocations: 35.89 kB / 4.416 GB, free: 37.05 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/10.7, allocations: 12 kB / 4.416 GB, free: 37.04 MB / 0.6983 GB Notification: Performance of sort global known variables: time 0.0007256/10.71, allocations: 0.6845 MB / 4.416 GB, free: 36.35 MB / 0.6983 GB Notification: Performance of remove unused functions: time 0.001544/10.71, allocations: 0.5108 MB / 4.417 GB, free: 35.84 MB / 0.6983 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/10.71, allocations: 1.034 MB / 4.418 GB, free: 34.81 MB / 0.6983 GB Notification: Performance of simCode: created initialization part: time 0.001433/10.71, allocations: 0.9636 MB / 4.419 GB, free: 33.82 MB / 0.6983 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/10.71, allocations: 0 / 4.419 GB, free: 33.82 MB / 0.6983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/10.71, allocations: 226.2 kB / 4.419 GB, free: 33.6 MB / 0.6983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/10.71, allocations: 0.5222 MB / 4.419 GB, free: 33.08 MB / 0.6983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/10.72, allocations: 1.417 MB / 4.421 GB, free: 31.61 MB / 0.6983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/10.72, allocations: 1.259 MB / 4.422 GB, free: 30.32 MB / 0.6983 GB Notification: Performance of SimCode: time 8.12e-07/10.72, allocations: 0 / 4.422 GB, free: 30.32 MB / 0.6983 GB Notification: Performance of Templates: time 0.03948/10.76, allocations: 24.53 MB / 4.446 GB, free: 5.977 MB / 0.6983 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)