Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 184.8 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4586/0.4586, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 93.61 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.06e-05/1.077e-05, allocations: 0 / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.441, allocations: 72.31 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.798/4.239, allocations: 1.824 GB / 2.377 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/4.24, allocations: 87.94 kB / 2.377 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.75/7.99, allocations: 1.09 GB / 3.467 GB, free: 82.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001081/7.99, allocations: 35.97 kB / 3.467 GB, free: 82.15 MB / 0.6042 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.004165/7.994, allocations: 1.349 MB / 3.468 GB, free: 80.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/7.994, allocations: 11.97 kB / 3.468 GB, free: 80.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/7.996, allocations: 206.3 kB / 3.469 GB, free: 80.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/7.999, allocations: 1.453 MB / 3.47 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/7.999, allocations: 23.91 kB / 3.47 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/7.999, allocations: 40 kB / 3.47 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00097/8, allocations: 0.717 MB / 3.471 GB, free: 78.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/8.001, allocations: 0.8681 MB / 3.472 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/8.001, allocations: 0 / 3.472 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/8.001, allocations: 4 kB / 3.472 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/8.001, allocations: 12 kB / 3.472 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003956/8.005, allocations: 4.701 MB / 3.476 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/8.006, allocations: 0.5145 MB / 3.477 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/8.007, allocations: 434.5 kB / 3.477 GB, free: 71.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/8.007, allocations: 198.5 kB / 3.477 GB, free: 71.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/8.007, allocations: 297.2 kB / 3.478 GB, free: 70.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/8.007, allocations: 0 / 3.478 GB, free: 70.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.001853/8.009, allocations: 0.8907 MB / 3.479 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/8.009, allocations: 81.11 kB / 3.479 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/8.01, allocations: 0.9221 MB / 3.479 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/8.01, allocations: 25.7 kB / 3.48 GB, free: 68.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/8.01, allocations: 352.4 kB / 3.48 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/8.01, allocations: 110.4 kB / 3.48 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/8.01, allocations: 4 kB / 3.48 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/8.01, allocations: 329.9 kB / 3.48 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/8.011, allocations: 220.9 kB / 3.48 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/8.011, allocations: 0.542 MB / 3.481 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/8.011, allocations: 309.6 kB / 3.481 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/8.011, allocations: 4 kB / 3.481 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001648/8.013, allocations: 1.012 MB / 3.482 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003599/8.013, allocations: 2.1 MB / 3.484 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/8.013, allocations: 4 kB / 3.484 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/8.014, allocations: 311.9 kB / 3.485 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/8.014, allocations: 71.89 kB / 3.485 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/8.016, allocations: 1.302 MB / 3.486 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/8.017, allocations: 111.4 kB / 3.486 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/8.017, allocations: 27.98 kB / 3.486 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/8.017, allocations: 11.94 kB / 3.486 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/8.018, allocations: 0.6877 MB / 3.487 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/8.018, allocations: 4.625 kB / 3.487 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/8.019, allocations: 243.4 kB / 3.487 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/8.019, allocations: 79.83 kB / 3.487 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/8.022, allocations: 2.938 MB / 3.49 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/8.024, allocations: 103.7 kB / 3.49 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/8.024, allocations: 23.98 kB / 3.49 GB, free: 57.48 MB / 0.6042 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.0001827/8.024, allocations: 133 kB / 3.49 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/8.024, allocations: 102.8 kB / 3.49 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/8.025, allocations: 0.769 MB / 3.491 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/8.025, allocations: 7.938 kB / 3.491 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/8.025, allocations: 4 kB / 3.491 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/8.025, allocations: 7.984 kB / 3.491 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/8.027, allocations: 1.696 MB / 3.493 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/8.027, allocations: 3.938 kB / 3.493 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/8.028, allocations: 36.19 kB / 3.493 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/8.028, allocations: 259 kB / 3.493 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/8.028, allocations: 7.984 kB / 3.493 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009323/8.029, allocations: 1.146 MB / 3.494 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/8.029, allocations: 0 / 3.494 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009534/8.03, allocations: 0.9758 MB / 3.495 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/8.03, allocations: 227.8 kB / 3.495 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/8.03, allocations: 4 kB / 3.495 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/8.031, allocations: 83.66 kB / 3.495 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/8.031, allocations: 31.95 kB / 3.495 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/8.031, allocations: 12 kB / 3.495 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007167/8.032, allocations: 0.718 MB / 3.496 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001684/8.034, allocations: 0.5461 MB / 3.497 GB, free: 50.5 MB / 0.6042 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.001464/8.035, allocations: 1.291 MB / 3.498 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002264/8.038, allocations: 1.149 MB / 3.499 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/8.038, allocations: 0 / 3.499 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004949/8.038, allocations: 296 kB / 3.499 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/8.041, allocations: 0.5725 MB / 3.5 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/8.044, allocations: 1.48 MB / 3.501 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/8.045, allocations: 1.296 MB / 3.503 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/8.045, allocations: 0 / 3.503 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.04147/8.086, allocations: 27.04 MB / 3.529 GB, free: 17.41 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)