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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.488/2.488, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.281/1.281, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005994, allocations: 8 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7638, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.2998/1.064, allocations: 140.5 MB / 0.7202 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009703/1.073, allocations: 3.608 MB / 0.7237 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/1.074, allocations: 19.81 kB / 0.7237 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/1.075, allocations: 234.9 kB / 0.7239 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/1.079, allocations: 0.7011 MB / 0.7246 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.082, allocations: 487.7 kB / 0.7251 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003815/1.085, allocations: 1.642 MB / 0.7267 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005492/1.091, allocations: 2.329 MB / 0.7289 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/1.095, allocations: 0.8566 MB / 0.7298 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/1.097, allocations: 0.5953 MB / 0.7304 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/1.097, allocations: 55.94 kB / 0.7304 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/1.099, allocations: 459.3 kB / 0.7309 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005843/1.099, allocations: 307 kB / 0.7311 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/1.1, allocations: 249.1 kB / 0.7314 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/1.102, allocations: 1.126 MB / 0.7325 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.102, allocations: 0 / 0.7325 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.496e-06/1.102, allocations: 0 / 0.7325 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.441e-05/1.102, allocations: 0 / 0.7325 GB, free: 7.086 MB / 0.5606 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.004912/1.107, allocations: 1.5 MB / 0.7339 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.576e-05/1.107, allocations: 8.031 kB / 0.734 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/1.108, allocations: 102.5 kB / 0.7341 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/1.109, allocations: 202.3 kB / 0.7342 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/1.112, allocations: 0.8717 MB / 0.7351 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/1.112, allocations: 49.31 kB / 0.7351 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.113, allocations: 64 kB / 0.7352 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/1.115, allocations: 0.987 MB / 0.7362 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.115, allocations: 3.938 kB / 0.7362 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.115, allocations: 28 kB / 0.7362 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/1.115, allocations: 12 kB / 0.7362 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/1.118, allocations: 0.8038 MB / 0.737 GB, free: 2.266 MB / 0.5606 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.008917/1.127, allocations: 4.808 MB / 0.7417 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/1.131, allocations: 4.029 MB / 0.7456 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/1.131, allocations: 16.27 kB / 0.7456 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.132, allocations: 345.8 kB / 0.746 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007737/1.133, allocations: 27.69 kB / 0.746 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 3.186e-06/1.133, allocations: 0 / 0.746 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.009256/1.142, allocations: 1.738 MB / 0.7477 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.143, allocations: 114.8 kB / 0.7478 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.145, allocations: 1.185 MB / 0.749 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.146, allocations: 33.7 kB / 0.749 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/1.146, allocations: 0.5237 MB / 0.7495 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/1.147, allocations: 110.4 kB / 0.7496 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/1.147, allocations: 8 kB / 0.7496 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.147, allocations: 330 kB / 0.7499 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/1.148, allocations: 205 kB / 0.7501 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/1.149, allocations: 0.5386 MB / 0.7507 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/1.15, allocations: 317.4 kB / 0.751 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.15, allocations: 4 kB / 0.751 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004238/1.154, allocations: 1.082 MB / 0.752 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/1.155, allocations: 2.146 MB / 0.7541 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.155, allocations: 8 kB / 0.7541 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/1.158, allocations: 360.5 kB / 0.7545 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/1.158, allocations: 75.83 kB / 0.7545 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/1.16, allocations: 1.059 MB / 0.7556 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/1.162, allocations: 99.55 kB / 0.7557 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/1.162, allocations: 27.98 kB / 0.7557 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.162, allocations: 6.031 kB / 0.7557 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/1.165, allocations: 0.8179 MB / 0.7565 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.165, allocations: 4 kB / 0.7565 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.166, allocations: 265.4 kB / 0.7568 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/1.167, allocations: 75.81 kB / 0.7568 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006939/1.174, allocations: 3.192 MB / 0.7599 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.176, allocations: 99.81 kB / 0.76 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/1.176, allocations: 27.92 kB / 0.7601 GB, free: 8.879 MB / 0.5919 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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.001148/1.177, allocations: 476.7 kB / 0.7605 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/1.177, allocations: 106.7 kB / 0.7606 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/1.18, allocations: 0.7972 MB / 0.7614 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.18, allocations: 4 kB / 0.7614 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.18, allocations: 4 kB / 0.7614 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.18, allocations: 11.92 kB / 0.7614 GB, free: 7.469 MB / 0.5919 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.00568/1.186, allocations: 2.235 MB / 0.7636 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.186, allocations: 3.953 kB / 0.7636 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/1.186, allocations: 51.91 kB / 0.7637 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000874/1.187, allocations: 208.7 kB / 0.7639 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/1.187, allocations: 12 kB / 0.7639 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/1.189, allocations: 0.8801 MB / 0.7647 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/1.189, allocations: 8.016 kB / 0.7647 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/1.191, allocations: 0.9636 MB / 0.7657 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.192, allocations: 239.6 kB / 0.7659 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/1.192, allocations: 12 kB / 0.7659 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.194, allocations: 83.75 kB / 0.766 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.194, allocations: 35.89 kB / 0.766 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.194, allocations: 12 kB / 0.766 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002022/1.196, allocations: 0.8289 MB / 0.7668 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.1e-07/1.196, allocations: 0 / 0.7668 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002824/1.199, allocations: 0.4994 MB / 0.7673 GB, free: 1.137 MB / 0.5919 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.003594/1.202, allocations: 1.978 MB / 0.7693 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003499/1.206, allocations: 1.139 MB / 0.7704 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.206, allocations: 4.062 kB / 0.7704 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009153/1.207, allocations: 259.4 kB / 0.7706 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006084/1.213, allocations: 0.6485 MB / 0.7713 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/1.24, allocations: 10.36 MB / 0.7814 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.242, allocations: 1.232 MB / 0.7826 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002359/1.244, allocations: 332.6 kB / 0.7829 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/1.245, allocations: 359.3 kB / 0.7832 GB, free: 372 kB / 0.6075 GB Notification: Performance of SimCode: time 5.62e-06/1.245, allocations: 0 / 0.7832 GB, free: 372 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/1.348, allocations: 31.55 MB / 0.8141 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004411/1.349, allocations: 266.3 kB / 0.8143 GB, free: 1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.756/5.104, allocations: 7.172 kB / 0.8143 GB, free: 0.9961 MB / 0.6387 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) Environment - environmentSimulation: