Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.586/1.586, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001183/0.001183, allocations: 173.3 kB / 366.3 MB, free: 1.934 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.687/1.687, allocations: 205.1 MB / 0.6256 GB, free: 5.777 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.0009402/0.0009403, allocations: 87.19 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.013e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7397, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.937/5.677, allocations: 2.064 GB / 3.036 GB, free: 11.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/5.677, allocations: 88.47 kB / 3.036 GB, free: 11.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.041/9.717, allocations: 1.072 GB / 4.108 GB, free: 32.19 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002193/9.718, allocations: 31.98 kB / 4.108 GB, free: 32.16 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005588/9.723, allocations: 1.345 MB / 4.11 GB, free: 30.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/9.723, allocations: 12.03 kB / 4.11 GB, free: 30.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/9.725, allocations: 206.3 kB / 4.11 GB, free: 30.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/9.73, allocations: 1.433 MB / 4.111 GB, free: 29.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/9.73, allocations: 23.98 kB / 4.111 GB, free: 29.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/9.73, allocations: 44 kB / 4.111 GB, free: 28.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001322/9.732, allocations: 0.7209 MB / 4.112 GB, free: 28.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/9.733, allocations: 0.8622 MB / 4.113 GB, free: 27.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/9.733, allocations: 11.88 kB / 4.113 GB, free: 27.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/9.733, allocations: 3.906 kB / 4.113 GB, free: 27.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/9.733, allocations: 20 kB / 4.113 GB, free: 27.29 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004907/9.738, allocations: 4.694 MB / 4.117 GB, free: 22.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/9.739, allocations: 0.5118 MB / 4.118 GB, free: 21.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/9.739, allocations: 457.5 kB / 4.118 GB, free: 21.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/9.74, allocations: 202.5 kB / 4.119 GB, free: 21.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/9.74, allocations: 304.9 kB / 4.119 GB, free: 20.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.895e-06/9.74, allocations: 7.938 kB / 4.119 GB, free: 20.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002059/9.742, allocations: 0.958 MB / 4.12 GB, free: 19.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/9.742, allocations: 81.11 kB / 4.12 GB, free: 19.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/9.743, allocations: 0.9178 MB / 4.121 GB, free: 18.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/9.743, allocations: 29.7 kB / 4.121 GB, free: 18.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/9.743, allocations: 349.2 kB / 4.121 GB, free: 18.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/9.743, allocations: 122.3 kB / 4.121 GB, free: 18.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/9.743, allocations: 0 / 4.121 GB, free: 18.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/9.744, allocations: 330 kB / 4.122 GB, free: 17.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/9.744, allocations: 224.9 kB / 4.122 GB, free: 17.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/9.744, allocations: 0.5498 MB / 4.122 GB, free: 17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/9.745, allocations: 317.9 kB / 4.123 GB, free: 16.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/9.745, allocations: 4 kB / 4.123 GB, free: 16.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001776/9.746, allocations: 1.097 MB / 4.124 GB, free: 15.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000444/9.747, allocations: 2.1 MB / 4.126 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/9.747, allocations: 4 kB / 4.126 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007003/9.748, allocations: 371.2 kB / 4.126 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/9.748, allocations: 67.8 kB / 4.126 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/9.75, allocations: 1.42 MB / 4.128 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/9.751, allocations: 115.4 kB / 4.128 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/9.751, allocations: 27.98 kB / 4.128 GB, free: 11.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/9.751, allocations: 4.938 kB / 4.128 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/9.752, allocations: 0.7656 MB / 4.128 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/9.752, allocations: 7.984 kB / 4.128 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/9.753, allocations: 306.7 kB / 4.129 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/9.753, allocations: 63.91 kB / 4.129 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/9.757, allocations: 3.472 MB / 4.132 GB, free: 6.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/9.758, allocations: 107.6 kB / 4.132 GB, free: 6.461 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/9.758, allocations: 24 kB / 4.132 GB, free: 6.438 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 (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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002102/9.759, allocations: 128.9 kB / 4.132 GB, free: 6.305 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/9.759, allocations: 102.8 kB / 4.133 GB, free: 6.203 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/9.76, allocations: 0.8545 MB / 4.133 GB, free: 5.336 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/9.76, allocations: 4 kB / 4.133 GB, free: 5.332 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/9.76, allocations: 8 kB / 4.133 GB, free: 5.324 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/9.76, allocations: 3.984 kB / 4.133 GB, free: 5.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/9.762, allocations: 1.771 MB / 4.135 GB, free: 3.484 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/9.762, allocations: 4.156 kB / 4.135 GB, free: 3.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/9.763, allocations: 35.92 kB / 4.135 GB, free: 3.445 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/9.763, allocations: 323.5 kB / 4.135 GB, free: 3.129 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/9.763, allocations: 12 kB / 4.135 GB, free: 3.117 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/9.764, allocations: 1.256 MB / 4.137 GB, free: 1.836 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/9.764, allocations: 11.98 kB / 4.137 GB, free: 1.824 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001107/9.765, allocations: 1.041 MB / 4.138 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/9.766, allocations: 231.7 kB / 4.138 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/9.766, allocations: 4 kB / 4.138 GB, free: 464 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/9.767, allocations: 83.75 kB / 4.138 GB, free: 380 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/9.767, allocations: 27.95 kB / 4.138 GB, free: 352 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/9.767, allocations: 12 kB / 4.138 GB, free: 340 kB / 0.948 GB Notification: Performance of sort global known variables: time 0.5309/10.3, allocations: 0.7166 MB / 4.139 GB, free: 333.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002364/10.3, allocations: 0.5581 MB / 4.139 GB, free: 333.2 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 (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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/10.3, allocations: 1.211 MB / 4.141 GB, free: 333 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002468/10.3, allocations: 1.186 MB / 4.142 GB, free: 332.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/10.3, allocations: 2.594 kB / 4.142 GB, free: 332.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/10.3, allocations: 326 kB / 4.142 GB, free: 332.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/10.31, allocations: 0.5762 MB / 4.143 GB, free: 332.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/10.31, allocations: 1.483 MB / 4.144 GB, free: 332.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/10.31, allocations: 1.291 MB / 4.145 GB, free: 331.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/10.31, allocations: 0 / 4.145 GB, free: 331.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04357/10.35, allocations: 26.95 MB / 4.172 GB, free: 331.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)