Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") [: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.7868/0.7868, allocations: 141.8 MB / 149.1 MB, free: 1.211 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.001334/0.001334, allocations: 189.3 kB / 182 MB, free: 0.5625 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.586/1.586, allocations: 221.4 MB / 436 MB, free: 5.312 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.001019/0.001019, allocations: 88.59 kB / 0.507 GB, free: 2.02 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 280.6 kB / 0.5885 GB, free: 47.11 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.958e-06, allocations: 2.125 kB / 0.6759 GB, free: 59.49 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 82.77 MB / 0.7567 GB, free: 0.5625 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/4.781, allocations: 1.831 GB / 2.588 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/4.782, allocations: 89.45 kB / 2.588 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.797/8.578, allocations: 1.09 GB / 3.678 GB, free: 98.01 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001993/8.579, allocations: 27.59 kB / 3.678 GB, free: 97.98 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00516/8.584, allocations: 1.34 MB / 3.679 GB, free: 96.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/8.584, allocations: 12.02 kB / 3.679 GB, free: 96.59 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/8.585, allocations: 202.4 kB / 3.679 GB, free: 96.39 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/8.59, allocations: 1.45 MB / 3.681 GB, free: 94.91 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/8.59, allocations: 23.98 kB / 3.681 GB, free: 94.89 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/8.59, allocations: 40 kB / 3.681 GB, free: 94.85 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001162/8.591, allocations: 0.7209 MB / 3.682 GB, free: 94.12 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/8.592, allocations: 0.8644 MB / 3.682 GB, free: 93.18 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/8.592, allocations: 3.938 kB / 3.682 GB, free: 93.18 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/8.593, allocations: 8 kB / 3.682 GB, free: 93.17 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/8.593, allocations: 12 kB / 3.682 GB, free: 93.16 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004651/8.597, allocations: 4.7 MB / 3.687 GB, free: 88.18 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/8.598, allocations: 0.5031 MB / 3.688 GB, free: 87.67 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/8.598, allocations: 445.9 kB / 3.688 GB, free: 87.24 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/8.599, allocations: 197 kB / 3.688 GB, free: 87.02 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/8.599, allocations: 301.8 kB / 3.688 GB, free: 86.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=35): time 3.797e-06/8.599, allocations: 8 kB / 3.688 GB, free: 86.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=35): time 0.002048/8.601, allocations: 0.8834 MB / 3.689 GB, free: 85.81 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/8.601, allocations: 89.05 kB / 3.689 GB, free: 85.71 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/8.602, allocations: 0.922 MB / 3.69 GB, free: 84.77 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.921e-05/8.602, allocations: 25.7 kB / 3.69 GB, free: 84.74 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/8.603, allocations: 352.3 kB / 3.691 GB, free: 84.39 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/8.603, allocations: 118.3 kB / 3.691 GB, free: 84.27 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/8.603, allocations: 0 / 3.691 GB, free: 84.27 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/8.603, allocations: 322 kB / 3.691 GB, free: 83.95 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/8.603, allocations: 224.9 kB / 3.691 GB, free: 83.73 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/8.604, allocations: 0.5459 MB / 3.692 GB, free: 83.04 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/8.604, allocations: 313.8 kB / 3.692 GB, free: 82.73 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/8.604, allocations: 7.938 kB / 3.692 GB, free: 82.72 MB / 0.6982 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00176/8.606, allocations: 1.014 MB / 3.693 GB, free: 81.71 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004024/8.606, allocations: 2.096 MB / 3.695 GB, free: 79.45 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/8.606, allocations: 4 kB / 3.695 GB, free: 79.45 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/8.607, allocations: 304.2 kB / 3.695 GB, free: 79.15 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/8.607, allocations: 83.73 kB / 3.696 GB, free: 79.07 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/8.609, allocations: 1.294 MB / 3.697 GB, free: 77.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/8.61, allocations: 115.4 kB / 3.697 GB, free: 77.63 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/8.61, allocations: 31.98 kB / 3.697 GB, free: 77.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/8.61, allocations: 4 kB / 3.697 GB, free: 77.6 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00116/8.611, allocations: 0.6874 MB / 3.698 GB, free: 76.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/8.611, allocations: 4 kB / 3.698 GB, free: 76.91 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/8.612, allocations: 238.8 kB / 3.698 GB, free: 76.67 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/8.612, allocations: 71.89 kB / 3.698 GB, free: 76.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/8.616, allocations: 2.952 MB / 3.701 GB, free: 73.54 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/8.617, allocations: 107.8 kB / 3.701 GB, free: 73.43 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/8.617, allocations: 27.92 kB / 3.701 GB, free: 73.41 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002097/8.617, allocations: 132 kB / 3.701 GB, free: 73.27 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/8.618, allocations: 106.6 kB / 3.701 GB, free: 73.17 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/8.619, allocations: 0.7812 MB / 3.702 GB, free: 72.39 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/8.619, allocations: 4 kB / 3.702 GB, free: 72.39 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/8.619, allocations: 0 / 3.702 GB, free: 72.39 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/8.619, allocations: 7.891 kB / 3.702 GB, free: 72.38 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/8.622, allocations: 1.714 MB / 3.704 GB, free: 70.61 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/8.622, allocations: 0 / 3.704 GB, free: 70.61 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/8.622, allocations: 35.91 kB / 3.704 GB, free: 70.58 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/8.622, allocations: 265 kB / 3.704 GB, free: 70.32 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/8.622, allocations: 7.984 kB / 3.704 GB, free: 70.31 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009819/8.623, allocations: 1.138 MB / 3.705 GB, free: 69.15 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/8.623, allocations: 0 / 3.705 GB, free: 69.15 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001079/8.624, allocations: 0.9713 MB / 3.706 GB, free: 68.11 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/8.625, allocations: 231.7 kB / 3.706 GB, free: 67.86 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/8.625, allocations: 4 kB / 3.706 GB, free: 67.86 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008486/8.626, allocations: 75.75 kB / 3.706 GB, free: 67.79 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/8.626, allocations: 35.95 kB / 3.706 GB, free: 67.75 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/8.626, allocations: 19.84 kB / 3.706 GB, free: 67.73 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008379/8.627, allocations: 0.718 MB / 3.707 GB, free: 67 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001977/8.629, allocations: 0.539 MB / 3.708 GB, free: 66.46 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/8.631, allocations: 1.29 MB / 3.709 GB, free: 65.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002272/8.633, allocations: 1.145 MB / 3.71 GB, free: 64.13 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/8.633, allocations: 0 / 3.71 GB, free: 64.13 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/8.634, allocations: 304.2 kB / 3.71 GB, free: 63.84 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/8.637, allocations: 0.5642 MB / 3.711 GB, free: 63.27 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/8.64, allocations: 1.481 MB / 3.712 GB, free: 61.74 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/8.641, allocations: 1.296 MB / 3.713 GB, free: 60.41 MB / 0.6982 GB Notification: Performance of SimCode: time 7.52e-07/8.641, allocations: 0 / 3.713 GB, free: 60.41 MB / 0.6982 GB Notification: Performance of Templates: time 0.04096/8.682, allocations: 27.05 MB / 3.74 GB, free: 33.55 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)