Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.003094/0.003094, allocations: 181.2 kB / 7.455 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6795/0.6795, 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.374/1.374, allocations: 221.3 MB / 395 MB, free: 10.16 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.001003/0.001003, allocations: 97.59 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3946/0.3956, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.5558, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.375/4.931, allocations: 1.831 GB / 2.465 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004076/4.932, allocations: 99.38 kB / 2.465 GB, free: 133.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 7.035/11.97, allocations: 1.805 GB / 4.27 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/11.97, allocations: 9.156 kB / 4.27 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/11.97, allocations: 190.5 kB / 4.27 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/11.97, allocations: 1.377 MB / 4.271 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/11.97, allocations: 20.41 kB / 4.271 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/11.97, allocations: 35.69 kB / 4.271 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000918/11.97, allocations: 0.5068 MB / 4.272 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009018/11.97, allocations: 0.7071 MB / 4.272 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/11.97, allocations: 3.938 kB / 4.272 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/11.97, allocations: 6.219 kB / 4.272 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/11.97, allocations: 14.72 kB / 4.272 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/11.98, allocations: 4.157 MB / 4.277 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/11.98, allocations: 479.3 kB / 4.277 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/11.98, allocations: 339.4 kB / 4.277 GB, free: 168 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/11.98, allocations: 195.6 kB / 4.278 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/11.98, allocations: 290.6 kB / 4.278 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.956e-06/11.98, allocations: 0 / 4.278 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002109/11.98, allocations: 0.8099 MB / 4.279 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/11.98, allocations: 85.67 kB / 4.279 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/11.98, allocations: 0.8702 MB / 4.28 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/11.98, allocations: 28.73 kB / 4.28 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/11.98, allocations: 343 kB / 4.28 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/11.98, allocations: 115 kB / 4.28 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/11.98, allocations: 0 / 4.28 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/11.99, allocations: 323.7 kB / 4.28 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/11.99, allocations: 207.9 kB / 4.28 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/11.99, allocations: 0.5222 MB / 4.281 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/11.99, allocations: 301.3 kB / 4.281 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/11.99, allocations: 0 / 4.281 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001813/11.99, allocations: 0.9478 MB / 4.282 GB, free: 164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004343/11.99, allocations: 2.094 MB / 4.284 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/11.99, allocations: 11.31 kB / 4.284 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/11.99, allocations: 248.6 kB / 4.285 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/11.99, allocations: 67.83 kB / 4.285 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/11.99, allocations: 1.183 MB / 4.286 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/11.99, allocations: 101.1 kB / 4.286 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/11.99, allocations: 27.98 kB / 4.286 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/11.99, allocations: 7.938 kB / 4.286 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/11.99, allocations: 0.6335 MB / 4.286 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/11.99, allocations: 4 kB / 4.286 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/11.99, allocations: 238.1 kB / 4.287 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/11.99, allocations: 71.89 kB / 4.287 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/12, allocations: 2.803 MB / 4.29 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/12, allocations: 91.41 kB / 4.29 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/12, allocations: 24 kB / 4.29 GB, free: 156.1 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/12, allocations: 124.2 kB / 4.29 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/12, allocations: 94.78 kB / 4.29 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/12, allocations: 0.7243 MB / 4.291 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/12, allocations: 4 kB / 4.291 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/12, allocations: 0 / 4.291 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/12, allocations: 3.984 kB / 4.291 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/12, allocations: 1.595 MB / 4.292 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/12, allocations: 4 kB / 4.292 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/12, allocations: 39.75 kB / 4.292 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/12, allocations: 209 kB / 4.292 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/12, allocations: 4 kB / 4.292 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007265/12, allocations: 1.047 MB / 4.293 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/12, allocations: 3.938 kB / 4.293 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009179/12, allocations: 0.9221 MB / 4.294 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001135/12.01, allocations: 1.316 MB / 4.296 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/12.01, allocations: 227.8 kB / 4.296 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/12.01, allocations: 4 kB / 4.296 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/12.01, allocations: 66.89 kB / 4.296 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/12.01, allocations: 31.86 kB / 4.296 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/12.01, allocations: 16 kB / 4.296 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007596/12.01, allocations: 0.6842 MB / 4.297 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003006/12.01, allocations: 0.679 MB / 4.297 GB, free: 148.1 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/12.01, allocations: 1.035 MB / 4.298 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001503/12.01, allocations: 0.9676 MB / 4.299 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/12.01, allocations: 8.062 kB / 4.299 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/12.01, allocations: 222.2 kB / 4.299 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/12.02, allocations: 0.5252 MB / 4.3 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/12.02, allocations: 1.408 MB / 4.301 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/12.02, allocations: 1.264 MB / 4.303 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/12.02, allocations: 0 / 4.303 GB, free: 142.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)