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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 173.9 kB / 7.648 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 1.235/1.235, allocations: 133.6 MB / 141.6 MB, free: 2.945 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.653/2.653, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.001414/0.001414, allocations: 104.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.878e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7674, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.54/9.308, allocations: 1.832 GB / 2.466 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004463/9.308, allocations: 91.64 kB / 2.466 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 12.87/22.17, allocations: 1.976 GB / 4.441 GB, free: 31.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.496e-06/22.17, allocations: 0 / 4.441 GB, free: 31.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002002/22.17, allocations: 35.98 kB / 4.441 GB, free: 31.5 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.00657/22.18, allocations: 1.286 MB / 4.443 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.438e-05/22.18, allocations: 8.031 kB / 4.443 GB, free: 30.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/22.18, allocations: 194.4 kB / 4.443 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/22.19, allocations: 1.426 MB / 4.444 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/22.19, allocations: 20 kB / 4.444 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/22.19, allocations: 44 kB / 4.444 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/22.19, allocations: 0.7014 MB / 4.445 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/22.19, allocations: 0.8492 MB / 4.446 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/22.19, allocations: 4 kB / 4.446 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/22.19, allocations: 4 kB / 4.446 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/22.19, allocations: 20 kB / 4.446 GB, free: 26.76 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.005874/22.2, allocations: 4.607 MB / 4.45 GB, free: 21.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/22.2, allocations: 4.081 MB / 4.454 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/22.2, allocations: 344.5 kB / 4.455 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/22.2, allocations: 190.8 kB / 4.455 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/22.2, allocations: 296.8 kB / 4.455 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005701/22.2, allocations: 11.84 kB / 4.455 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.827e-06/22.2, allocations: 0 / 4.455 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.002452/22.21, allocations: 0.8089 MB / 4.456 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/22.21, allocations: 81.11 kB / 4.456 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/22.21, allocations: 0.8985 MB / 4.457 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/22.21, allocations: 29.7 kB / 4.457 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/22.21, allocations: 0.5316 MB / 4.457 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/22.21, allocations: 114.2 kB / 4.458 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/22.21, allocations: 4 kB / 4.458 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001594/22.21, allocations: 330 kB / 4.458 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/22.21, allocations: 201 kB / 4.458 GB, free: 13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/22.21, allocations: 0.5394 MB / 4.459 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/22.21, allocations: 289.2 kB / 4.459 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/22.21, allocations: 4 kB / 4.459 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002214/22.21, allocations: 0.9494 MB / 4.46 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/22.21, allocations: 2.225 MB / 4.462 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/22.21, allocations: 12 kB / 4.462 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/22.21, allocations: 230.5 kB / 4.462 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/22.21, allocations: 83.75 kB / 4.462 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/22.22, allocations: 1.099 MB / 4.463 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/22.22, allocations: 95.8 kB / 4.463 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/22.22, allocations: 27.98 kB / 4.463 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/22.22, allocations: 4 kB / 4.463 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001521/22.22, allocations: 0.6525 MB / 4.464 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/22.22, allocations: 4 kB / 4.464 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/22.22, allocations: 202.4 kB / 4.464 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/22.22, allocations: 84.02 kB / 4.464 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/22.22, allocations: 2.779 MB / 4.467 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/22.23, allocations: 83.81 kB / 4.467 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/22.23, allocations: 31.92 kB / 4.467 GB, free: 3.148 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003246/22.23, allocations: 125.7 kB / 4.467 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001491/22.23, allocations: 0.6723 MB / 4.468 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/22.23, allocations: 98.78 kB / 4.468 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/22.23, allocations: 0.716 MB / 4.469 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/22.23, allocations: 4 kB / 4.469 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/22.23, allocations: 0 / 4.469 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/22.23, allocations: 3.984 kB / 4.469 GB, free: 1.5 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 1.025/23.26, allocations: 1.995 MB / 4.471 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/23.26, allocations: 5.531 kB / 4.471 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/23.26, allocations: 53.06 kB / 4.471 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/23.26, allocations: 136.9 kB / 4.471 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/23.26, allocations: 6.469 kB / 4.471 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/23.26, allocations: 0.8665 MB / 4.472 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/23.26, allocations: 3 kB / 4.472 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/23.26, allocations: 0.8938 MB / 4.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/23.26, allocations: 225.4 kB / 4.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/23.26, allocations: 8.484 kB / 4.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/23.26, allocations: 77.27 kB / 4.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/23.27, allocations: 38.03 kB / 4.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/23.27, allocations: 15.64 kB / 4.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002988/23.27, allocations: 0.6977 MB / 4.474 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.32e-07/23.27, allocations: 0 / 4.474 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004753/23.27, allocations: 0.5641 MB / 4.474 GB, free: 174.5 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.008084/23.28, allocations: 3.014 MB / 4.477 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003893/23.29, allocations: 1.07 MB / 4.478 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/23.29, allocations: 3.344 kB / 4.478 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/23.29, allocations: 222 kB / 4.478 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006615/23.29, allocations: 0.595 MB / 4.479 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/23.3, allocations: 1.711 MB / 4.481 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/23.3, allocations: 1.229 MB / 4.482 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004347/23.31, allocations: 0.7325 MB / 4.483 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/23.31, allocations: 331.1 kB / 4.483 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.467e-06/23.31, allocations: 0 / 4.483 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/23.44, allocations: 36.4 MB / 4.518 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005095/23.44, allocations: 189.3 kB / 4.519 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.083/28.53, allocations: 0 / 4.519 GB, free: 170.7 MB / 0.6823 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)