Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.565/1.565, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001097/0.001097, allocations: 185.2 kB / 361.1 MB, free: 7.07 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.657/1.657, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009457/0.0009459, allocations: 87.59 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/9.057e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7365, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.852/5.589, allocations: 2.063 GB / 3.026 GB, free: 74.01 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/5.589, allocations: 87.94 kB / 3.027 GB, free: 73.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.108/9.697, allocations: 1.072 GB / 4.098 GB, free: 109.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002154/9.697, allocations: 35.98 kB / 4.098 GB, free: 109.4 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.005894/9.703, allocations: 1.345 MB / 4.1 GB, free: 108 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/9.703, allocations: 8.531 kB / 4.1 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/9.705, allocations: 202.4 kB / 4.1 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005163/9.71, allocations: 1.437 MB / 4.101 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/9.71, allocations: 16 kB / 4.101 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/9.711, allocations: 40 kB / 4.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/9.712, allocations: 0.7248 MB / 4.102 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/9.713, allocations: 0.872 MB / 4.103 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/9.713, allocations: 3.938 kB / 4.103 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/9.713, allocations: 4 kB / 4.103 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/9.713, allocations: 16 kB / 4.103 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005683/9.719, allocations: 4.726 MB / 4.108 GB, free: 99.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/9.72, allocations: 0.519 MB / 4.108 GB, free: 98.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/9.72, allocations: 451.2 kB / 4.109 GB, free: 98.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/9.721, allocations: 190.5 kB / 4.109 GB, free: 98.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/9.721, allocations: 306.4 kB / 4.109 GB, free: 98.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/9.721, allocations: 0 / 4.109 GB, free: 98.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002067/9.723, allocations: 0.9574 MB / 4.11 GB, free: 97.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/9.723, allocations: 85.09 kB / 4.11 GB, free: 96.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/9.724, allocations: 0.9217 MB / 4.111 GB, free: 96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/9.724, allocations: 25.7 kB / 4.111 GB, free: 95.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/9.724, allocations: 356.4 kB / 4.111 GB, free: 95.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/9.724, allocations: 118.3 kB / 4.111 GB, free: 95.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/9.724, allocations: 0 / 4.111 GB, free: 95.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/9.724, allocations: 330 kB / 4.112 GB, free: 95.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/9.725, allocations: 220.9 kB / 4.112 GB, free: 94.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/9.725, allocations: 0.5498 MB / 4.112 GB, free: 94.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/9.725, allocations: 326.4 kB / 4.113 GB, free: 93.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/9.726, allocations: 4 kB / 4.113 GB, free: 93.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001747/9.727, allocations: 1.09 MB / 4.114 GB, free: 92.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000443/9.728, allocations: 2.1 MB / 4.116 GB, free: 90.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/9.728, allocations: 8 kB / 4.116 GB, free: 90.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006901/9.728, allocations: 364.1 kB / 4.116 GB, free: 90.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/9.729, allocations: 67.89 kB / 4.116 GB, free: 90.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/9.73, allocations: 1.421 MB / 4.118 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/9.732, allocations: 119.3 kB / 4.118 GB, free: 88.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/9.732, allocations: 27.98 kB / 4.118 GB, free: 88.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/9.732, allocations: 8 kB / 4.118 GB, free: 88.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/9.733, allocations: 0.7621 MB / 4.119 GB, free: 87.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/9.733, allocations: 7.984 kB / 4.119 GB, free: 87.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/9.734, allocations: 304.5 kB / 4.119 GB, free: 87.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/9.734, allocations: 63.91 kB / 4.119 GB, free: 87.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/9.738, allocations: 3.46 MB / 4.122 GB, free: 83.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/9.739, allocations: 111.6 kB / 4.122 GB, free: 83.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/9.739, allocations: 24 kB / 4.122 GB, free: 83.7 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.0002081/9.739, allocations: 129 kB / 4.123 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/9.74, allocations: 106.7 kB / 4.123 GB, free: 83.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/9.741, allocations: 0.8506 MB / 4.124 GB, free: 82.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/9.741, allocations: 4 kB / 4.124 GB, free: 82.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/9.741, allocations: 3.906 kB / 4.124 GB, free: 82.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/9.741, allocations: 3.984 kB / 4.124 GB, free: 82.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/9.743, allocations: 1.794 MB / 4.125 GB, free: 80.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/9.743, allocations: 4 kB / 4.125 GB, free: 80.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/9.744, allocations: 27.92 kB / 4.125 GB, free: 80.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/9.744, allocations: 326.2 kB / 4.126 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/9.744, allocations: 4 kB / 4.126 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/9.745, allocations: 1.262 MB / 4.127 GB, free: 79.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/9.745, allocations: 7.938 kB / 4.127 GB, free: 79.08 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001115/9.746, allocations: 1.037 MB / 4.128 GB, free: 77.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/9.747, allocations: 227.8 kB / 4.128 GB, free: 77.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/9.747, allocations: 11.91 kB / 4.128 GB, free: 77.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/9.748, allocations: 79.75 kB / 4.128 GB, free: 77.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/9.748, allocations: 35.89 kB / 4.128 GB, free: 77.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/9.748, allocations: 8 kB / 4.128 GB, free: 77.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008032/9.749, allocations: 0.7178 MB / 4.129 GB, free: 76.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001865/9.751, allocations: 0.5578 MB / 4.129 GB, free: 76.3 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.001744/9.752, allocations: 1.224 MB / 4.131 GB, free: 75.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002367/9.755, allocations: 1.176 MB / 4.132 GB, free: 73.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/9.755, allocations: 0 / 4.132 GB, free: 73.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/9.755, allocations: 332.1 kB / 4.132 GB, free: 73.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/9.758, allocations: 0.5668 MB / 4.133 GB, free: 72.99 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/9.761, allocations: 1.491 MB / 4.134 GB, free: 71.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/9.761, allocations: 1.296 MB / 4.135 GB, free: 70.12 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/9.761, allocations: 3.938 kB / 4.135 GB, free: 70.12 MB / 0.948 GB Notification: Performance of Templates: time 0.04238/9.804, allocations: 26.94 MB / 4.162 GB, free: 43.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)