Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002102/0.002102, allocations: 177.1 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5997/0.5997, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.132/1.132, allocations: 221.4 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 101.4 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.733e-06, allocations: 2.969 kB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.678/2.797, allocations: 1.834 GB / 2.467 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/2.797, allocations: 87.95 kB / 2.467 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.616/5.414, allocations: 1.09 GB / 3.557 GB, free: 93.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.675e-05/5.414, allocations: 33.16 kB / 3.557 GB, free: 93.82 MB / 0.6823 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.003121/5.417, allocations: 1.336 MB / 3.558 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/5.417, allocations: 8.031 kB / 3.558 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/5.418, allocations: 210.3 kB / 3.558 GB, free: 92.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/5.421, allocations: 1.457 MB / 3.56 GB, free: 90.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/5.421, allocations: 23.94 kB / 3.56 GB, free: 90.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/5.421, allocations: 36 kB / 3.56 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008299/5.422, allocations: 0.7248 MB / 3.561 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008489/5.423, allocations: 0.8681 MB / 3.561 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/5.423, allocations: 3.938 kB / 3.561 GB, free: 89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/5.423, allocations: 4 kB / 3.561 GB, free: 89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/5.423, allocations: 16 kB / 3.562 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/5.426, allocations: 4.692 MB / 3.566 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/5.426, allocations: 0.5043 MB / 3.567 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/5.427, allocations: 433.2 kB / 3.567 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/5.427, allocations: 206.4 kB / 3.567 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/5.427, allocations: 305 kB / 3.567 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/5.427, allocations: 0 / 3.567 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.001582/5.429, allocations: 0.8818 MB / 3.568 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/5.429, allocations: 85.11 kB / 3.568 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/5.429, allocations: 0.9181 MB / 3.569 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/5.43, allocations: 25.7 kB / 3.569 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/5.43, allocations: 356.3 kB / 3.57 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/5.43, allocations: 118.3 kB / 3.57 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/5.43, allocations: 0 / 3.57 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/5.43, allocations: 326 kB / 3.57 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/5.43, allocations: 216.9 kB / 3.57 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/5.43, allocations: 0.5459 MB / 3.571 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/5.431, allocations: 309.7 kB / 3.571 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/5.431, allocations: 4 kB / 3.571 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001457/5.432, allocations: 1.016 MB / 3.572 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002528/5.432, allocations: 2.109 MB / 3.574 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/5.432, allocations: 4 kB / 3.574 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/5.433, allocations: 303.4 kB / 3.574 GB, free: 74.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/5.433, allocations: 75.89 kB / 3.575 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/5.435, allocations: 1.304 MB / 3.576 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/5.435, allocations: 119.4 kB / 3.576 GB, free: 73.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/5.436, allocations: 27.98 kB / 3.576 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/5.436, allocations: 4 kB / 3.576 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/5.437, allocations: 0.6879 MB / 3.577 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/5.437, allocations: 4 kB / 3.577 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/5.437, allocations: 245 kB / 3.577 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/5.437, allocations: 75.89 kB / 3.577 GB, free: 72.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/5.44, allocations: 2.948 MB / 3.58 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/5.441, allocations: 107.6 kB / 3.58 GB, free: 69.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/5.441, allocations: 24 kB / 3.58 GB, free: 69.2 MB / 0.6823 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.0001083/5.441, allocations: 133 kB / 3.58 GB, free: 69.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/5.441, allocations: 102.7 kB / 3.58 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/5.442, allocations: 0.7767 MB / 3.581 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/5.442, allocations: 4 kB / 3.581 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/5.442, allocations: 0 / 3.581 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/5.442, allocations: 3.984 kB / 3.581 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/5.444, allocations: 1.685 MB / 3.583 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/5.444, allocations: 0 / 3.583 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/5.444, allocations: 43.81 kB / 3.583 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/5.445, allocations: 263.1 kB / 3.583 GB, free: 66.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/5.445, allocations: 12 kB / 3.583 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008314/5.445, allocations: 1.138 MB / 3.584 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/5.445, allocations: 3.938 kB / 3.584 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000846/5.446, allocations: 0.9832 MB / 3.585 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/5.447, allocations: 227.8 kB / 3.585 GB, free: 63.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/5.447, allocations: 8 kB / 3.585 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/5.447, allocations: 75.75 kB / 3.585 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/5.447, allocations: 43.8 kB / 3.585 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/5.447, allocations: 12 kB / 3.585 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005867/5.448, allocations: 0.718 MB / 3.586 GB, free: 62.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001232/5.449, allocations: 0.5384 MB / 3.587 GB, free: 62.22 MB / 0.6823 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.001104/5.45, allocations: 1.277 MB / 3.588 GB, free: 60.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001698/5.452, allocations: 1.146 MB / 3.589 GB, free: 59.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/5.452, allocations: 0 / 3.589 GB, free: 59.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/5.453, allocations: 312.2 kB / 3.589 GB, free: 59.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/5.455, allocations: 0.5739 MB / 3.59 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/5.457, allocations: 1.476 MB / 3.591 GB, free: 57.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/5.457, allocations: 1.296 MB / 3.592 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/5.457, allocations: 0 / 3.592 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of Templates: time 0.03083/5.488, allocations: 27.03 MB / 3.619 GB, free: 29.15 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)