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.007871/0.007871, allocations: 171.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7536/0.7536, 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.515/1.515, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001047/0.001047, allocations: 97.91 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5117, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.407, allocations: 1.835 GB / 2.484 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/5.408, allocations: 94.58 kB / 2.485 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.988/12.4, allocations: 2.008 GB / 4.492 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/12.4, allocations: 0 / 4.492 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001364/12.4, allocations: 32.55 kB / 4.492 GB, free: 158.9 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.005278/12.4, allocations: 1.573 MB / 4.494 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/12.4, allocations: 7.125 kB / 4.494 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002707/12.4, allocations: 98.69 kB / 4.494 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/12.4, allocations: 208.9 kB / 4.494 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/12.41, allocations: 1.47 MB / 4.496 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/12.41, allocations: 48.91 kB / 4.496 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/12.41, allocations: 68.06 kB / 4.496 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/12.41, allocations: 0.9504 MB / 4.497 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/12.41, allocations: 6.406 kB / 4.497 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/12.41, allocations: 26.7 kB / 4.497 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/12.41, allocations: 13.5 kB / 4.497 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/12.41, allocations: 0.7557 MB / 4.498 GB, free: 157.6 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.004238/12.41, allocations: 4.693 MB / 4.502 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/12.42, allocations: 4.006 MB / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/12.42, allocations: 189.5 kB / 4.506 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/12.42, allocations: 337.7 kB / 4.507 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004776/12.42, allocations: 39.81 kB / 4.507 GB, free: 150 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/12.42, allocations: 0 / 4.507 GB, free: 150 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003412/12.42, allocations: 1.416 MB / 4.508 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/12.42, allocations: 87.47 kB / 4.508 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/12.42, allocations: 1.038 MB / 4.509 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/12.42, allocations: 42.67 kB / 4.509 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/12.42, allocations: 0.5226 MB / 4.51 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/12.42, allocations: 130.9 kB / 4.51 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/12.42, allocations: 6.812 kB / 4.51 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/12.42, allocations: 324.7 kB / 4.51 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/12.42, allocations: 211.4 kB / 4.51 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/12.42, allocations: 0.5602 MB / 4.511 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/12.42, allocations: 321.5 kB / 4.511 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/12.42, allocations: 7.266 kB / 4.511 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001442/12.42, allocations: 0.9981 MB / 4.512 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004282/12.42, allocations: 2.235 MB / 4.514 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/12.42, allocations: 3.875 kB / 4.514 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/12.43, allocations: 268.6 kB / 4.515 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/12.43, allocations: 78.83 kB / 4.515 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008894/12.43, allocations: 1.042 MB / 4.516 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/12.43, allocations: 100.7 kB / 4.516 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/12.43, allocations: 25.03 kB / 4.516 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/12.43, allocations: 6.406 kB / 4.516 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001335/12.43, allocations: 0.8237 MB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/12.43, allocations: 9 kB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/12.43, allocations: 256.6 kB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/12.43, allocations: 79.56 kB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/12.43, allocations: 3.136 MB / 4.52 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/12.43, allocations: 100.8 kB / 4.52 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/12.43, allocations: 27.28 kB / 4.52 GB, free: 144 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 (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.0006816/12.44, allocations: 482 kB / 4.521 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/12.44, allocations: 106.2 kB / 4.521 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/12.44, allocations: 0.8156 MB / 4.521 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/12.44, allocations: 3.969 kB / 4.521 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/12.44, allocations: 3.797 kB / 4.521 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/12.44, allocations: 0 / 4.521 GB, free: 143.7 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.002943/12.44, allocations: 2.193 MB / 4.524 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/12.44, allocations: 6.328 kB / 4.524 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/12.44, allocations: 51.56 kB / 4.524 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/12.44, allocations: 208.2 kB / 4.524 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/12.44, allocations: 11.12 kB / 4.524 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/12.44, allocations: 0.879 MB / 4.525 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/12.44, allocations: 10.98 kB / 4.525 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/12.44, allocations: 0.9819 MB / 4.526 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/12.44, allocations: 242.1 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/12.44, allocations: 7.281 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/12.44, allocations: 79.14 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/12.44, allocations: 39.44 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/12.44, allocations: 18.83 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001417/12.45, allocations: 0.8248 MB / 4.527 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/12.45, allocations: 2.375 kB / 4.527 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002244/12.45, allocations: 0.6068 MB / 4.527 GB, free: 141.3 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 (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.002971/12.45, allocations: 3.01 MB / 4.53 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002046/12.45, allocations: 1.163 MB / 4.532 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/12.45, allocations: 2.219 kB / 4.532 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/12.45, allocations: 257.1 kB / 4.532 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/12.46, allocations: 0.6505 MB / 4.532 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/12.47, allocations: 10.47 MB / 4.543 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/12.47, allocations: 1.241 MB / 4.544 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001386/12.47, allocations: 384.5 kB / 4.544 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/12.47, allocations: 357.1 kB / 4.545 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/12.47, allocations: 0 / 4.545 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07121/12.54, allocations: 48.51 MB / 4.592 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/12.54, allocations: 263.9 kB / 4.592 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/16.22, allocations: 8 kB / 4.592 GB, free: 82.33 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)