Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.006153/0.006153, allocations: 171.1 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7912/0.7912, allocations: 135.2 MB / 151 MB, free: 13.83 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.557/1.557, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001019/0.001019, allocations: 103.9 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.000447, allocations: 16 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4873, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.861/5.348, allocations: 1.832 GB / 2.482 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/5.349, allocations: 93.03 kB / 2.482 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.589/8.938, allocations: 1.081 GB / 3.562 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/8.938, allocations: 0 / 3.562 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001296/8.938, allocations: 31.98 kB / 3.562 GB, free: 94.81 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005024/8.943, allocations: 1.581 MB / 3.564 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/8.943, allocations: 12.03 kB / 3.564 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003189/8.944, allocations: 94.52 kB / 3.564 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/8.945, allocations: 206.3 kB / 3.564 GB, free: 92.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/8.949, allocations: 1.445 MB / 3.566 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/8.949, allocations: 53.31 kB / 3.566 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/8.949, allocations: 68 kB / 3.566 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/8.95, allocations: 0.9474 MB / 3.567 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/8.95, allocations: 3.938 kB / 3.567 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/8.95, allocations: 31.98 kB / 3.567 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/8.95, allocations: 12 kB / 3.567 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/8.951, allocations: 0.7532 MB / 3.567 GB, free: 89.4 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004104/8.955, allocations: 4.731 MB / 3.572 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/8.957, allocations: 4.055 MB / 3.576 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/8.957, allocations: 202.2 kB / 3.576 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/8.958, allocations: 334.5 kB / 3.577 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005161/8.958, allocations: 31.69 kB / 3.577 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/8.958, allocations: 0 / 3.577 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003044/8.961, allocations: 1.303 MB / 3.578 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/8.961, allocations: 85.09 kB / 3.578 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/8.963, allocations: 1.034 MB / 3.579 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/8.963, allocations: 41.7 kB / 3.579 GB, free: 76.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/8.963, allocations: 0.5244 MB / 3.58 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/8.963, allocations: 130.1 kB / 3.58 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/8.963, allocations: 8 kB / 3.58 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/8.963, allocations: 330 kB / 3.58 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/8.963, allocations: 209 kB / 3.58 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/8.964, allocations: 0.5482 MB / 3.581 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/8.964, allocations: 339.7 kB / 3.581 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/8.964, allocations: 0 / 3.581 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001422/8.966, allocations: 0.967 MB / 3.582 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004513/8.966, allocations: 2.225 MB / 3.584 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-05/8.966, allocations: 4 kB / 3.584 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/8.967, allocations: 279.3 kB / 3.584 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/8.967, allocations: 87.88 kB / 3.585 GB, free: 70.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/8.969, allocations: 1.665 MB / 3.586 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/8.97, allocations: 99.83 kB / 3.586 GB, free: 68.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/8.97, allocations: 24 kB / 3.586 GB, free: 68.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/8.97, allocations: 4.781 kB / 3.586 GB, free: 68.53 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/8.971, allocations: 0.8028 MB / 3.587 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/8.971, allocations: 8.094 kB / 3.587 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004582/8.972, allocations: 214.7 kB / 3.587 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/8.972, allocations: 88.06 kB / 3.587 GB, free: 67.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/8.975, allocations: 2.962 MB / 3.59 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/8.976, allocations: 111.8 kB / 3.59 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/8.977, allocations: 27.98 kB / 3.59 GB, free: 64.18 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006491/8.977, allocations: 474 kB / 3.591 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/8.977, allocations: 110.7 kB / 3.591 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/8.979, allocations: 0.7907 MB / 3.592 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/8.979, allocations: 8 kB / 3.592 GB, free: 62.78 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/8.979, allocations: 0 / 3.592 GB, free: 62.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/8.979, allocations: 3.984 kB / 3.592 GB, free: 62.78 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002719/8.981, allocations: 2.155 MB / 3.594 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/8.981, allocations: 4 kB / 3.594 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/8.982, allocations: 59.84 kB / 3.594 GB, free: 60.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/8.982, allocations: 198.7 kB / 3.594 GB, free: 60.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/8.982, allocations: 16.25 kB / 3.594 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008151/8.983, allocations: 1.466 MB / 3.596 GB, free: 58.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/8.983, allocations: 0 / 3.596 GB, free: 58.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/8.984, allocations: 0.9631 MB / 3.596 GB, free: 57.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/8.985, allocations: 239.7 kB / 3.597 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/8.985, allocations: 11.95 kB / 3.597 GB, free: 57.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/8.985, allocations: 75.75 kB / 3.597 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/8.986, allocations: 31.95 kB / 3.597 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/8.986, allocations: 16 kB / 3.597 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009758/8.987, allocations: 0.8248 MB / 3.598 GB, free: 56.42 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/8.987, allocations: 0 / 3.598 GB, free: 56.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001866/8.988, allocations: 0.6011 MB / 3.598 GB, free: 55.82 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002922/8.991, allocations: 2.953 MB / 3.601 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002647/8.994, allocations: 1.288 MB / 3.602 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/8.994, allocations: 128 / 3.602 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/8.995, allocations: 312.1 kB / 3.603 GB, free: 51.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/8.998, allocations: 0.6544 MB / 3.603 GB, free: 50.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/9.011, allocations: 10.54 MB / 3.614 GB, free: 39.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/9.012, allocations: 1.233 MB / 3.615 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001477/9.014, allocations: 388.5 kB / 3.615 GB, free: 37.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/9.014, allocations: 355.3 kB / 3.615 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.422e-06/9.014, allocations: 0 / 3.615 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4429/9.457, allocations: 47.19 MB / 3.662 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/9.457, allocations: 266.2 kB / 3.662 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/12.88, allocations: 0 / 3.662 GB, free: 167.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)