Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8089/0.8089, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.5 MB / 395.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009668, allocations: 100.1 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.458e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5021, allocations: 82.3 MB / 0.6339 GB, free: 40.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.829/5.331, allocations: 1.834 GB / 2.468 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/5.331, allocations: 91.94 kB / 2.468 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.198/12.53, allocations: 1.986 GB / 4.454 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/12.53, allocations: 0 / 4.454 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000102/12.53, allocations: 31.98 kB / 4.454 GB, free: 72.58 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003408/12.53, allocations: 1.278 MB / 4.455 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/12.53, allocations: 12.03 kB / 4.455 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/12.53, allocations: 198.4 kB / 4.456 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/12.54, allocations: 1.453 MB / 4.457 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/12.54, allocations: 19.94 kB / 4.457 GB, free: 69.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/12.54, allocations: 40 kB / 4.457 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008608/12.54, allocations: 0.6936 MB / 4.458 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/12.54, allocations: 0.8493 MB / 4.459 GB, free: 67.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/12.54, allocations: 7.938 kB / 4.459 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/12.54, allocations: 0 / 4.459 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/12.54, allocations: 16 kB / 4.459 GB, free: 67.82 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/12.54, allocations: 4.565 MB / 4.463 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/12.54, allocations: 4.029 MB / 4.467 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/12.54, allocations: 344.7 kB / 4.467 GB, free: 57.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/12.54, allocations: 194.8 kB / 4.468 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/12.54, allocations: 296.7 kB / 4.468 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002891/12.54, allocations: 15.83 kB / 4.468 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/12.54, allocations: 4 kB / 4.468 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.00155/12.55, allocations: 0.8367 MB / 4.469 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/12.55, allocations: 89.05 kB / 4.469 GB, free: 56.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/12.55, allocations: 0.9027 MB / 4.47 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/12.55, allocations: 29.7 kB / 4.47 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/12.55, allocations: 0.5238 MB / 4.47 GB, free: 54.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/12.55, allocations: 118.2 kB / 4.47 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/12.55, allocations: 0 / 4.47 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/12.55, allocations: 330 kB / 4.471 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/12.55, allocations: 205 kB / 4.471 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/12.55, allocations: 0.5355 MB / 4.471 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/12.55, allocations: 281.3 kB / 4.472 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/12.55, allocations: 4 kB / 4.472 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001452/12.55, allocations: 0.9883 MB / 4.473 GB, free: 52.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005975/12.55, allocations: 2.221 MB / 4.475 GB, free: 49.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/12.55, allocations: 4 kB / 4.475 GB, free: 49.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/12.55, allocations: 258.8 kB / 4.475 GB, free: 49.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/12.55, allocations: 79.89 kB / 4.475 GB, free: 49.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009373/12.55, allocations: 1.168 MB / 4.476 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/12.55, allocations: 87.8 kB / 4.476 GB, free: 48.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/12.55, allocations: 28 kB / 4.476 GB, free: 48.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/12.55, allocations: 4 kB / 4.476 GB, free: 48.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/12.55, allocations: 0.6716 MB / 4.477 GB, free: 47.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/12.55, allocations: 8 kB / 4.477 GB, free: 47.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005043/12.56, allocations: 233.3 kB / 4.477 GB, free: 47.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/12.56, allocations: 75.83 kB / 4.477 GB, free: 47.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/12.56, allocations: 2.956 MB / 4.48 GB, free: 44.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/12.56, allocations: 91.8 kB / 4.48 GB, free: 43.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/12.56, allocations: 24 kB / 4.48 GB, free: 43.94 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/12.56, allocations: 132.2 kB / 4.48 GB, free: 43.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008881/12.56, allocations: 0.7075 MB / 4.481 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/12.56, allocations: 110.7 kB / 4.481 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/12.56, allocations: 0.7307 MB / 4.482 GB, free: 42.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/12.56, allocations: 8 kB / 4.482 GB, free: 42.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/12.56, allocations: 0 / 4.482 GB, free: 42.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/12.56, allocations: 7.984 kB / 4.482 GB, free: 42.22 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/12.56, allocations: 2.058 MB / 4.484 GB, free: 40.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/12.56, allocations: 0 / 4.484 GB, free: 40.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/12.56, allocations: 52.2 kB / 4.484 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/12.56, allocations: 164.7 kB / 4.484 GB, free: 39.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/12.56, allocations: 7.984 kB / 4.484 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000531/12.56, allocations: 0.8957 MB / 4.485 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/12.56, allocations: 0 / 4.485 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/12.57, allocations: 0.9129 MB / 4.486 GB, free: 37.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/12.57, allocations: 219.8 kB / 4.486 GB, free: 37.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/12.57, allocations: 4 kB / 4.486 GB, free: 37.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/12.57, allocations: 87.66 kB / 4.486 GB, free: 37.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/12.57, allocations: 39.84 kB / 4.486 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/12.57, allocations: 8 kB / 4.486 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006807/12.57, allocations: 0.7025 MB / 4.487 GB, free: 36.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.02e-07/12.57, allocations: 0 / 4.487 GB, free: 36.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001623/12.57, allocations: 0.5774 MB / 4.487 GB, free: 36.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/12.57, allocations: 3.076 MB / 4.491 GB, free: 33.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001421/12.57, allocations: 1.089 MB / 4.492 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/12.57, allocations: 0 / 4.492 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/12.57, allocations: 228 kB / 4.492 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/12.58, allocations: 0.5861 MB / 4.492 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/12.58, allocations: 1.718 MB / 4.494 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/12.58, allocations: 1.23 MB / 4.495 GB, free: 28.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001695/12.58, allocations: 0.7338 MB / 4.496 GB, free: 27.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/12.58, allocations: 327.3 kB / 4.496 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/12.58, allocations: 3.938 kB / 4.496 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.248/16.83, allocations: 37.15 MB / 4.533 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/16.83, allocations: 180.8 kB / 4.533 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/19.86, allocations: 0 / 4.533 GB, free: 167.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)