Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_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.008985/0.008986, allocations: 170.2 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.8696/0.8696, allocations: 135.2 MB / 151 MB, free: 13.84 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.468/1.468, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.0009998/0.0009999, allocations: 97.64 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003753, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4613, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.882/5.343, allocations: 1.835 GB / 2.484 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.344, allocations: 92.47 kB / 2.485 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.026/12.37, allocations: 2.008 GB / 4.492 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/12.37, allocations: 2.312 kB / 4.492 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001355/12.37, allocations: 35.23 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.005313/12.38, allocations: 1.58 MB / 4.494 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/12.38, allocations: 10.94 kB / 4.494 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003359/12.38, allocations: 98.28 kB / 4.494 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/12.38, allocations: 199.7 kB / 4.494 GB, free: 158 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/12.38, allocations: 1.47 MB / 4.496 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/12.38, allocations: 48.16 kB / 4.496 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/12.38, allocations: 69 kB / 4.496 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/12.38, allocations: 0.9444 MB / 4.497 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/12.38, allocations: 5.844 kB / 4.497 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/12.38, allocations: 25.94 kB / 4.497 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/12.38, allocations: 21.17 kB / 4.497 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/12.38, allocations: 0.7561 MB / 4.498 GB, free: 157.5 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.00417/12.39, allocations: 4.701 MB / 4.502 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/12.39, allocations: 4.002 MB / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/12.39, allocations: 192.6 kB / 4.506 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/12.39, allocations: 336.6 kB / 4.507 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006156/12.39, allocations: 29.17 kB / 4.507 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/12.39, allocations: 3.938 kB / 4.507 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003811/12.39, allocations: 1.418 MB / 4.508 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/12.39, allocations: 88.92 kB / 4.508 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/12.4, allocations: 1.041 MB / 4.509 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/12.4, allocations: 44.08 kB / 4.509 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/12.4, allocations: 0.5122 MB / 4.51 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/12.4, allocations: 125.5 kB / 4.51 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/12.4, allocations: 9.469 kB / 4.51 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/12.4, allocations: 323.6 kB / 4.51 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/12.4, allocations: 215.8 kB / 4.51 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/12.4, allocations: 0.5511 MB / 4.511 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/12.4, allocations: 326.8 kB / 4.511 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/12.4, allocations: 5.125 kB / 4.511 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00157/12.4, allocations: 0.9986 MB / 4.512 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005223/12.4, allocations: 2.233 MB / 4.514 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/12.4, allocations: 7.25 kB / 4.514 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/12.4, allocations: 267.4 kB / 4.515 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/12.4, allocations: 85.2 kB / 4.515 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009494/12.4, allocations: 1.038 MB / 4.516 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/12.4, allocations: 105.3 kB / 4.516 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/12.4, allocations: 34.33 kB / 4.516 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/12.4, allocations: 4.844 kB / 4.516 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/12.41, allocations: 0.8207 MB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/12.41, allocations: 6.344 kB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/12.41, allocations: 256.5 kB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/12.41, allocations: 79.17 kB / 4.517 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/12.41, allocations: 3.141 MB / 4.52 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/12.41, allocations: 101 kB / 4.52 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/12.41, allocations: 23.97 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.0007704/12.41, allocations: 475.1 kB / 4.521 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/12.41, allocations: 109.9 kB / 4.521 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/12.41, allocations: 0.8205 MB / 4.521 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/12.41, allocations: 3.531 kB / 4.521 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/12.41, allocations: 0 / 4.521 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/12.41, allocations: 3.656 kB / 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.00322/12.42, allocations: 2.189 MB / 4.524 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/12.42, allocations: 11.28 kB / 4.524 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/12.42, allocations: 51.67 kB / 4.524 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/12.42, allocations: 211.7 kB / 4.524 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/12.42, allocations: 7.438 kB / 4.524 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006455/12.42, allocations: 0.877 MB / 4.525 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/12.42, allocations: 6.641 kB / 4.525 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/12.42, allocations: 0.9915 MB / 4.526 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/12.42, allocations: 242 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/12.42, allocations: 7.094 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/12.42, allocations: 83.58 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/12.42, allocations: 37.92 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/12.42, allocations: 13.88 kB / 4.526 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001176/12.42, allocations: 0.821 MB / 4.527 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/12.42, allocations: 0 / 4.527 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002372/12.42, allocations: 0.6139 MB / 4.527 GB, free: 141.6 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.003027/12.43, allocations: 3.013 MB / 4.53 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002031/12.43, allocations: 1.16 MB / 4.532 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/12.43, allocations: 0 / 4.532 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004333/12.43, allocations: 263.8 kB / 4.532 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/12.43, allocations: 0.6408 MB / 4.532 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/12.44, allocations: 10.47 MB / 4.543 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/12.45, allocations: 1.243 MB / 4.544 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00123/12.45, allocations: 381.3 kB / 4.544 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/12.45, allocations: 355.4 kB / 4.545 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.626e-06/12.45, allocations: 0 / 4.545 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07034/12.52, allocations: 48.53 MB / 4.592 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/12.52, allocations: 272.4 kB / 4.592 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/16, allocations: 3.938 kB / 4.592 GB, free: 83.28 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)