Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.0039/0.0039, allocations: 176.9 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8034/0.8034, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.452/1.452, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009911/0.0009913, allocations: 103.5 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4165/0.4175, allocations: 88.43 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.5837, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.445/5.028, allocations: 1.831 GB / 2.465 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/5.029, allocations: 83.95 kB / 2.465 GB, free: 132.1 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.629/8.658, allocations: 0.9694 GB / 3.434 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/8.658, allocations: 7.844 kB / 3.434 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/8.659, allocations: 186.5 kB / 3.434 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/8.663, allocations: 1.371 MB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/8.663, allocations: 19.09 kB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/8.663, allocations: 41.19 kB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007719/8.664, allocations: 0.5073 MB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/8.665, allocations: 0.7086 MB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/8.665, allocations: 4.125 kB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/8.665, allocations: 7.297 kB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/8.665, allocations: 11.12 kB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/8.668, allocations: 4.159 MB / 3.441 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/8.669, allocations: 484.8 kB / 3.442 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/8.669, allocations: 334.4 kB / 3.442 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/8.669, allocations: 194 kB / 3.442 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/8.67, allocations: 293.6 kB / 3.442 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/8.67, allocations: 3.609 kB / 3.442 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00183/8.672, allocations: 0.8205 MB / 3.443 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/8.672, allocations: 87.55 kB / 3.443 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/8.673, allocations: 0.8677 MB / 3.444 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/8.673, allocations: 29.64 kB / 3.444 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/8.673, allocations: 338.6 kB / 3.444 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/8.673, allocations: 107.5 kB / 3.445 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/8.673, allocations: 0 / 3.445 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/8.673, allocations: 334.5 kB / 3.445 GB, free: 178 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/8.673, allocations: 206.8 kB / 3.445 GB, free: 178 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/8.674, allocations: 0.5158 MB / 3.446 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/8.674, allocations: 307.9 kB / 3.446 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/8.674, allocations: 3.906 kB / 3.446 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001625/8.676, allocations: 0.9572 MB / 3.447 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004256/8.676, allocations: 2.094 MB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/8.676, allocations: 3.906 kB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/8.677, allocations: 282.4 kB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/8.677, allocations: 73.94 kB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/8.679, allocations: 1.263 MB / 3.45 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/8.68, allocations: 100.8 kB / 3.45 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/8.68, allocations: 26.62 kB / 3.451 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/8.68, allocations: 5.031 kB / 3.451 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/8.681, allocations: 0.651 MB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/8.681, allocations: 10.25 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/8.682, allocations: 221.4 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/8.682, allocations: 74.16 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/8.685, allocations: 2.829 MB / 3.454 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/8.686, allocations: 95 kB / 3.454 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/8.686, allocations: 23.84 kB / 3.454 GB, free: 173.4 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002408/8.687, allocations: 126.8 kB / 3.454 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/8.687, allocations: 93.66 kB / 3.455 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/8.688, allocations: 0.7153 MB / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/8.688, allocations: 6.156 kB / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/8.688, allocations: 6.094 kB / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/8.688, allocations: 0 / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/8.69, allocations: 1.617 MB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/8.69, allocations: 0 / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/8.69, allocations: 31.77 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/8.691, allocations: 227.7 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/8.691, allocations: 14.41 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/8.692, allocations: 1.108 MB / 3.458 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/8.692, allocations: 7.906 kB / 3.458 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001047/8.693, allocations: 0.921 MB / 3.459 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001376/8.694, allocations: 1.326 MB / 3.46 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/8.695, allocations: 217.1 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/8.695, allocations: 3.875 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/8.696, allocations: 76.3 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/8.696, allocations: 28.53 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/8.696, allocations: 11.69 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008619/8.697, allocations: 0.6856 MB / 3.461 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003991/8.701, allocations: 0.6769 MB / 3.462 GB, free: 170.7 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/8.703, allocations: 1.036 MB / 3.463 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002592/8.705, allocations: 1.093 MB / 3.464 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/8.705, allocations: 0 / 3.464 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/8.706, allocations: 278.4 kB / 3.464 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/8.709, allocations: 0.5196 MB / 3.465 GB, free: 170 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/8.712, allocations: 1.415 MB / 3.466 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009753/8.713, allocations: 1.266 MB / 3.467 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.264e-06/8.713, allocations: 0 / 3.467 GB, free: 168.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)