Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_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.003706/0.003706, allocations: 182.5 kB / 7.461 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.6965/0.6965, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.372/1.372, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009831/0.0009831, allocations: 102.5 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3846/0.3856, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.5645, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.409/4.974, allocations: 1.831 GB / 2.465 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/4.974, allocations: 91.95 kB / 2.465 GB, free: 132.2 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.998/8.972, allocations: 0.9694 GB / 3.434 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/8.972, allocations: 7.375 kB / 3.434 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/8.974, allocations: 198.6 kB / 3.434 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/8.977, allocations: 1.371 MB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/8.977, allocations: 20.62 kB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/8.978, allocations: 35.97 kB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009192/8.978, allocations: 0.5056 MB / 3.436 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/8.979, allocations: 0.7096 MB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/8.979, allocations: 6.188 kB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/8.98, allocations: 3.094 kB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/8.98, allocations: 14.31 kB / 3.437 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/8.983, allocations: 4.159 MB / 3.441 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/8.984, allocations: 483.4 kB / 3.442 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/8.984, allocations: 339 kB / 3.442 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/8.985, allocations: 194.6 kB / 3.442 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/8.985, allocations: 295.9 kB / 3.442 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/8.985, allocations: 0 / 3.442 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001917/8.987, allocations: 0.8267 MB / 3.443 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/8.987, allocations: 80.17 kB / 3.443 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/8.988, allocations: 0.8752 MB / 3.444 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/8.988, allocations: 33.11 kB / 3.444 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/8.988, allocations: 329.2 kB / 3.444 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/8.988, allocations: 113.4 kB / 3.445 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/8.988, allocations: 0 / 3.445 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/8.989, allocations: 324.8 kB / 3.445 GB, free: 178 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/8.989, allocations: 209.8 kB / 3.445 GB, free: 178 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/8.989, allocations: 0.5225 MB / 3.446 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/8.99, allocations: 299.7 kB / 3.446 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/8.99, allocations: 7.594 kB / 3.446 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001775/8.991, allocations: 0.9509 MB / 3.447 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005435/8.992, allocations: 2.1 MB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/8.992, allocations: 11.5 kB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/8.993, allocations: 276 kB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/8.993, allocations: 76.34 kB / 3.449 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/8.995, allocations: 1.257 MB / 3.45 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/8.996, allocations: 103.7 kB / 3.45 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/8.996, allocations: 28.95 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/8.996, allocations: 6.562 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/8.997, allocations: 0.6483 MB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/8.997, allocations: 5.078 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/8.998, allocations: 226.3 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/8.998, allocations: 67.31 kB / 3.451 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/9.001, allocations: 2.837 MB / 3.454 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/9.003, allocations: 92.69 kB / 3.454 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/9.003, allocations: 22.53 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.0002704/9.003, allocations: 133.9 kB / 3.454 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/9.003, allocations: 90.16 kB / 3.455 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/9.004, allocations: 0.7224 MB / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/9.004, allocations: 3.75 kB / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/9.004, allocations: 0 / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/9.004, allocations: 0 / 3.455 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/9.007, allocations: 1.608 MB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/9.007, allocations: 3.406 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/9.007, allocations: 31.58 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/9.007, allocations: 232.8 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/9.007, allocations: 3.594 kB / 3.457 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/9.008, allocations: 1.105 MB / 3.458 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/9.008, allocations: 3.969 kB / 3.458 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/9.01, allocations: 0.931 MB / 3.459 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00132/9.011, allocations: 1.328 MB / 3.46 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/9.011, allocations: 216.4 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/9.011, allocations: 3.969 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/9.012, allocations: 67.14 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/9.012, allocations: 33.77 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/9.012, allocations: 14.12 kB / 3.461 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009522/9.013, allocations: 0.6824 MB / 3.461 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003498/9.017, allocations: 0.6743 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.002754/9.02, allocations: 1.047 MB / 3.463 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003186/9.023, allocations: 1.094 MB / 3.464 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/9.023, allocations: 0 / 3.464 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/9.023, allocations: 275.7 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.003177/9.027, allocations: 0.5291 MB / 3.465 GB, free: 170 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/9.03, allocations: 1.409 MB / 3.466 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009891/9.031, allocations: 1.263 MB / 3.467 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.943e-06/9.031, allocations: 3.094 kB / 3.467 GB, free: 168.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)