Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.003289/0.003289, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7537/0.7537, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.569/1.569, allocations: 221.3 MB / 395 MB, free: 10.24 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.001018/0.001018, allocations: 97.59 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4893/0.4904, allocations: 88.44 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.6831, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.781/5.464, allocations: 1.831 GB / 2.465 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/5.464, allocations: 87.94 kB / 2.465 GB, free: 123.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 4.05/9.515, allocations: 1.082 GB / 3.546 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/9.515, allocations: 8 kB / 3.547 GB, free: 96.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/9.516, allocations: 211.4 kB / 3.547 GB, free: 96.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/9.52, allocations: 1.428 MB / 3.548 GB, free: 94.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/9.52, allocations: 16 kB / 3.548 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/9.52, allocations: 40 kB / 3.548 GB, free: 94.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/9.521, allocations: 0.7209 MB / 3.549 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/9.522, allocations: 0.8714 MB / 3.55 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/9.522, allocations: 3.984 kB / 3.55 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/9.522, allocations: 4 kB / 3.55 GB, free: 93.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/9.522, allocations: 12 kB / 3.55 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/9.526, allocations: 4.725 MB / 3.554 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/9.527, allocations: 0.5181 MB / 3.555 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/9.527, allocations: 447.6 kB / 3.555 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/9.528, allocations: 194.1 kB / 3.555 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/9.528, allocations: 309 kB / 3.556 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/9.528, allocations: 0 / 3.556 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002065/9.53, allocations: 0.9597 MB / 3.557 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/9.53, allocations: 85.11 kB / 3.557 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/9.531, allocations: 0.914 MB / 3.558 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/9.531, allocations: 29.7 kB / 3.558 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/9.531, allocations: 356.3 kB / 3.558 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/9.532, allocations: 115.4 kB / 3.558 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/9.532, allocations: 0 / 3.558 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/9.532, allocations: 330 kB / 3.558 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/9.532, allocations: 220.9 kB / 3.559 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/9.532, allocations: 0.5576 MB / 3.559 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/9.533, allocations: 325.6 kB / 3.56 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/9.533, allocations: 0 / 3.56 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001812/9.535, allocations: 1.079 MB / 3.561 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004561/9.535, allocations: 2.104 MB / 3.563 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/9.535, allocations: 8 kB / 3.563 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007086/9.536, allocations: 359.5 kB / 3.563 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/9.536, allocations: 71.89 kB / 3.563 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/9.538, allocations: 1.42 MB / 3.564 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/9.539, allocations: 119.4 kB / 3.565 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/9.539, allocations: 27.98 kB / 3.565 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/9.539, allocations: 6.969 kB / 3.565 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/9.54, allocations: 0.7596 MB / 3.565 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/9.54, allocations: 8 kB / 3.565 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/9.541, allocations: 311.4 kB / 3.566 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/9.541, allocations: 63.84 kB / 3.566 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/9.545, allocations: 3.48 MB / 3.569 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/9.547, allocations: 107.6 kB / 3.569 GB, free: 72.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/9.547, allocations: 23.98 kB / 3.569 GB, free: 72.33 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 (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.00021/9.547, allocations: 129 kB / 3.569 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/9.547, allocations: 98.78 kB / 3.569 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/9.548, allocations: 0.8505 MB / 3.57 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/9.548, allocations: 4 kB / 3.57 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/9.548, allocations: 0 / 3.57 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/9.548, allocations: 3.984 kB / 3.57 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/9.551, allocations: 1.785 MB / 3.572 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/9.551, allocations: 4 kB / 3.572 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/9.551, allocations: 28.14 kB / 3.572 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/9.552, allocations: 322.9 kB / 3.572 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/9.552, allocations: 7.906 kB / 3.572 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/9.553, allocations: 1.262 MB / 3.574 GB, free: 67.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/9.553, allocations: 0 / 3.574 GB, free: 67.76 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/9.554, allocations: 1.042 MB / 3.575 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001365/9.555, allocations: 1.472 MB / 3.576 GB, free: 65.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/9.556, allocations: 231.7 kB / 3.576 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/9.556, allocations: 4 kB / 3.576 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/9.557, allocations: 83.75 kB / 3.576 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/9.557, allocations: 31.89 kB / 3.576 GB, free: 64.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/9.557, allocations: 12 kB / 3.576 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008149/9.558, allocations: 0.7217 MB / 3.577 GB, free: 64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003388/9.561, allocations: 0.796 MB / 3.578 GB, free: 63.2 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 (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.001726/9.563, allocations: 1.212 MB / 3.579 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002442/9.565, allocations: 1.188 MB / 3.58 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/9.565, allocations: 0 / 3.58 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/9.566, allocations: 324.2 kB / 3.581 GB, free: 60.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/9.569, allocations: 0.5739 MB / 3.581 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/9.571, allocations: 1.484 MB / 3.583 GB, free: 58.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/9.572, allocations: 1.296 MB / 3.584 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of SimCode: time 1.442e-06/9.572, allocations: 0 / 3.584 GB, free: 57.02 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)