Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.001609/0.001609, allocations: 178.2 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7707/0.7707, allocations: 133.5 MB / 141.4 MB, free: 4.844 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.3 MB / 395 MB, free: 13.77 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009034, allocations: 97.16 kB / 477.8 MB, free: 11.06 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3889/0.3898, allocations: 88.44 MB / 0.5529 GB, free: 49.89 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.9277, allocations: 82.3 MB / 0.6333 GB, free: 5.629 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.561/5.489, allocations: 1.832 GB / 2.465 GB, free: 247.2 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/5.489, allocations: 93.38 kB / 2.465 GB, free: 247.2 MB / 0.6746 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 6.86/12.35, allocations: 1.999 GB / 4.464 GB, free: 36.7 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/12.35, allocations: 12 kB / 4.464 GB, free: 36.69 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/12.35, allocations: 202.3 kB / 4.464 GB, free: 36.49 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/12.35, allocations: 1.433 MB / 4.466 GB, free: 35 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/12.35, allocations: 16 kB / 4.466 GB, free: 34.99 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/12.35, allocations: 47.92 kB / 4.466 GB, free: 34.94 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001076/12.36, allocations: 0.7248 MB / 4.467 GB, free: 34.21 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/12.36, allocations: 0.8604 MB / 4.467 GB, free: 33.27 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/12.36, allocations: 0 / 4.467 GB, free: 33.27 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/12.36, allocations: 7.938 kB / 4.467 GB, free: 33.27 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/12.36, allocations: 15.91 kB / 4.467 GB, free: 33.25 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/12.36, allocations: 4.719 MB / 4.472 GB, free: 28.2 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008278/12.36, allocations: 0.53 MB / 4.473 GB, free: 27.66 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/12.36, allocations: 446 kB / 4.473 GB, free: 27.23 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/12.36, allocations: 194.5 kB / 4.473 GB, free: 27 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/12.36, allocations: 313.8 kB / 4.473 GB, free: 26.68 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=35): time 2.905e-06/12.36, allocations: 0 / 4.473 GB, free: 26.68 MB / 0.6746 GB Notification: Performance of matching and sorting (n=35): time 0.001991/12.37, allocations: 0.9476 MB / 4.474 GB, free: 25.72 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/12.37, allocations: 85.11 kB / 4.474 GB, free: 25.62 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/12.37, allocations: 0.9178 MB / 4.475 GB, free: 24.68 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/12.37, allocations: 29.69 kB / 4.475 GB, free: 24.65 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/12.37, allocations: 352.4 kB / 4.476 GB, free: 24.3 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/12.37, allocations: 122.2 kB / 4.476 GB, free: 24.18 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/12.37, allocations: 0 / 4.476 GB, free: 24.18 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/12.37, allocations: 326 kB / 4.476 GB, free: 23.86 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/12.37, allocations: 224.9 kB / 4.476 GB, free: 23.63 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/12.37, allocations: 0.5498 MB / 4.477 GB, free: 22.94 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/12.37, allocations: 329.7 kB / 4.477 GB, free: 22.62 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/12.37, allocations: 4 kB / 4.477 GB, free: 22.62 MB / 0.6746 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001765/12.37, allocations: 1.066 MB / 4.478 GB, free: 21.54 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004285/12.37, allocations: 2.104 MB / 4.48 GB, free: 19.28 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/12.37, allocations: 4 kB / 4.48 GB, free: 19.27 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/12.37, allocations: 332.6 kB / 4.481 GB, free: 18.95 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/12.37, allocations: 67.84 kB / 4.481 GB, free: 18.88 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/12.37, allocations: 1.349 MB / 4.482 GB, free: 17.5 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/12.37, allocations: 115.5 kB / 4.482 GB, free: 17.39 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/12.37, allocations: 27.98 kB / 4.482 GB, free: 17.36 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/12.37, allocations: 4 kB / 4.482 GB, free: 17.36 MB / 0.6746 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001203/12.37, allocations: 0.7614 MB / 4.483 GB, free: 16.59 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/12.37, allocations: 4 kB / 4.483 GB, free: 16.59 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/12.38, allocations: 311.1 kB / 4.483 GB, free: 16.29 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/12.38, allocations: 67.91 kB / 4.483 GB, free: 16.22 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/12.38, allocations: 3.446 MB / 4.487 GB, free: 12.66 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/12.38, allocations: 99.64 kB / 4.487 GB, free: 12.56 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/12.38, allocations: 24 kB / 4.487 GB, free: 12.54 MB / 0.6746 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/12.38, allocations: 126.7 kB / 4.487 GB, free: 12.41 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/12.38, allocations: 110.6 kB / 4.487 GB, free: 12.3 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/12.38, allocations: 0.8469 MB / 4.488 GB, free: 11.45 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/12.38, allocations: 4 kB / 4.488 GB, free: 11.44 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/12.38, allocations: 0 / 4.488 GB, free: 11.44 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/12.38, allocations: 4 kB / 4.488 GB, free: 11.44 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/12.39, allocations: 1.773 MB / 4.49 GB, free: 9.598 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/12.39, allocations: 0 / 4.49 GB, free: 9.598 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/12.39, allocations: 23.98 kB / 4.49 GB, free: 9.574 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/12.39, allocations: 292.7 kB / 4.49 GB, free: 9.285 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/12.39, allocations: 4 kB / 4.49 GB, free: 9.281 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/12.39, allocations: 1.206 MB / 4.491 GB, free: 8.051 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/12.39, allocations: 4 kB / 4.491 GB, free: 8.047 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001226/12.39, allocations: 1.047 MB / 4.492 GB, free: 6.922 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001494/12.39, allocations: 1.464 MB / 4.493 GB, free: 5.375 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/12.39, allocations: 231.8 kB / 4.494 GB, free: 5.129 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/12.39, allocations: 15.89 kB / 4.494 GB, free: 5.113 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/12.39, allocations: 75.75 kB / 4.494 GB, free: 5.039 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/12.39, allocations: 27.97 kB / 4.494 GB, free: 5.012 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/12.39, allocations: 19.98 kB / 4.494 GB, free: 4.992 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0008499/12.39, allocations: 0.7139 MB / 4.494 GB, free: 4.27 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.003454/12.4, allocations: 0.7922 MB / 4.495 GB, free: 3.477 MB / 0.6746 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/12.4, allocations: 1.216 MB / 4.496 GB, free: 2.25 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.001948/12.4, allocations: 1.071 MB / 4.498 GB, free: 1.156 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/12.4, allocations: 0 / 4.498 GB, free: 1.156 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0004355/12.4, allocations: 271.1 kB / 4.498 GB, free: 0.8906 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/12.4, allocations: 0.5653 MB / 4.498 GB, free: 336 kB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3479/12.75, allocations: 1.484 MB / 4.5 GB, free: 230.1 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/12.75, allocations: 1.293 MB / 4.501 GB, free: 229.3 MB / 0.6746 GB Notification: Performance of SimCode: time 1.473e-06/12.75, allocations: 0 / 4.501 GB, free: 229.3 MB / 0.6746 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)