Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) [: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.004521/0.00452, allocations: 178 kB / 7.454 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7095/0.7095, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.594/1.594, allocations: 221.3 MB / 395 MB, free: 10.23 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.001092/0.001092, allocations: 98.72 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.507/0.5081, allocations: 88.43 MB / 0.5529 GB, free: 88.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.697, allocations: 82.29 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.948/5.645, allocations: 1.834 GB / 2.467 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/5.645, allocations: 93.64 kB / 2.467 GB, free: 102.4 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 4.111/9.757, allocations: 1.091 GB / 3.558 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/9.757, allocations: 8 kB / 3.558 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/9.758, allocations: 206.3 kB / 3.559 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/9.762, allocations: 1.449 MB / 3.56 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/9.762, allocations: 16 kB / 3.56 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/9.762, allocations: 40 kB / 3.56 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/9.763, allocations: 0.7286 MB / 3.561 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/9.764, allocations: 0.8642 MB / 3.562 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/9.764, allocations: 8 kB / 3.562 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/9.764, allocations: 0 / 3.562 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/9.764, allocations: 16 kB / 3.562 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/9.769, allocations: 4.698 MB / 3.566 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/9.77, allocations: 0.5043 MB / 3.567 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/9.77, allocations: 433.2 kB / 3.567 GB, free: 62.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/9.771, allocations: 190.5 kB / 3.567 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/9.771, allocations: 312.9 kB / 3.568 GB, free: 62.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/9.771, allocations: 4 kB / 3.568 GB, free: 62.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002072/9.773, allocations: 0.8823 MB / 3.568 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/9.773, allocations: 85.09 kB / 3.568 GB, free: 61.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/9.774, allocations: 0.9181 MB / 3.569 GB, free: 60.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/9.774, allocations: 29.7 kB / 3.569 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/9.775, allocations: 360.3 kB / 3.57 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/9.775, allocations: 114.2 kB / 3.57 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/9.775, allocations: 0 / 3.57 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/9.775, allocations: 330 kB / 3.57 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/9.775, allocations: 224.8 kB / 3.57 GB, free: 59.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/9.776, allocations: 0.542 MB / 3.571 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/9.776, allocations: 305.7 kB / 3.571 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/9.776, allocations: 0 / 3.571 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001754/9.778, allocations: 1.023 MB / 3.572 GB, free: 57.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004905/9.778, allocations: 2.108 MB / 3.574 GB, free: 54.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/9.778, allocations: 4 kB / 3.574 GB, free: 54.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/9.779, allocations: 303.3 kB / 3.575 GB, free: 54.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/9.779, allocations: 75.83 kB / 3.575 GB, free: 54.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/9.781, allocations: 1.3 MB / 3.576 GB, free: 53.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/9.782, allocations: 107.5 kB / 3.576 GB, free: 53.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/9.782, allocations: 24 kB / 3.576 GB, free: 53.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/9.782, allocations: 9.344 kB / 3.576 GB, free: 53.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/9.783, allocations: 0.6835 MB / 3.577 GB, free: 52.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/9.783, allocations: 11.98 kB / 3.577 GB, free: 52.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/9.784, allocations: 249.2 kB / 3.577 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/9.784, allocations: 71.89 kB / 3.577 GB, free: 52.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/9.788, allocations: 2.939 MB / 3.58 GB, free: 49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/9.79, allocations: 103.6 kB / 3.58 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/9.79, allocations: 28 kB / 3.58 GB, free: 48.87 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.0002208/9.79, allocations: 121.1 kB / 3.58 GB, free: 48.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/9.79, allocations: 106.7 kB / 3.58 GB, free: 48.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/9.791, allocations: 0.7766 MB / 3.581 GB, free: 47.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/9.791, allocations: 4 kB / 3.581 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/9.791, allocations: 0 / 3.581 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/9.791, allocations: 0 / 3.581 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/9.794, allocations: 1.7 MB / 3.583 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/9.794, allocations: 4 kB / 3.583 GB, free: 46.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/9.794, allocations: 40.09 kB / 3.583 GB, free: 46.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/9.795, allocations: 259 kB / 3.583 GB, free: 45.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/9.795, allocations: 4.094 kB / 3.583 GB, free: 45.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/9.796, allocations: 1.149 MB / 3.584 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/9.796, allocations: 4 kB / 3.584 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001141/9.797, allocations: 0.9832 MB / 3.585 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001311/9.798, allocations: 1.402 MB / 3.586 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/9.799, allocations: 227.8 kB / 3.587 GB, free: 41.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/9.799, allocations: 4 kB / 3.587 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/9.8, allocations: 87.59 kB / 3.587 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/9.8, allocations: 27.95 kB / 3.587 GB, free: 41.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/9.8, allocations: 16 kB / 3.587 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008644/9.801, allocations: 0.718 MB / 3.587 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003314/9.804, allocations: 0.7922 MB / 3.588 GB, free: 40.16 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.001808/9.806, allocations: 1.281 MB / 3.589 GB, free: 38.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002341/9.808, allocations: 1.145 MB / 3.591 GB, free: 37.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/9.808, allocations: 4.062 kB / 3.591 GB, free: 37.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005255/9.809, allocations: 299.6 kB / 3.591 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/9.812, allocations: 0.5778 MB / 3.591 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/9.815, allocations: 1.484 MB / 3.593 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/9.815, allocations: 1.296 MB / 3.594 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/9.815, allocations: 0 / 3.594 GB, free: 33.96 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)