Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_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.001874/0.001875, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7632/0.7632, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.492/1.492, allocations: 221.3 MB / 400.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009401, allocations: 86.91 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.075e-05, allocations: 4.156 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1587, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.635/4.793, allocations: 1.832 GB / 2.473 GB, free: 99.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/4.794, allocations: 93.02 kB / 2.473 GB, free: 99.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.832/12.63, allocations: 1.996 GB / 4.469 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.333e-06/12.63, allocations: 0 / 4.469 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001944/12.63, allocations: 33.69 kB / 4.469 GB, free: 158.8 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.004732/12.63, allocations: 1.28 MB / 4.47 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/12.63, allocations: 14.66 kB / 4.47 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003896/12.63, allocations: 98.47 kB / 4.47 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/12.63, allocations: 198.1 kB / 4.471 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/12.64, allocations: 1.428 MB / 4.472 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/12.64, allocations: 48.78 kB / 4.472 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/12.64, allocations: 63.75 kB / 4.472 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/12.64, allocations: 0.9245 MB / 4.473 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/12.64, allocations: 5.641 kB / 4.473 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/12.64, allocations: 25.31 kB / 4.473 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/12.64, allocations: 14.97 kB / 4.473 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/12.64, allocations: 0.7116 MB / 4.474 GB, free: 157.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 preOpt removeSimpleEquations (simulation): time 0.004534/12.64, allocations: 4.728 MB / 4.478 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/12.65, allocations: 4.016 MB / 4.482 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/12.65, allocations: 333.6 kB / 4.483 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/12.65, allocations: 193 kB / 4.483 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/12.65, allocations: 306.3 kB / 4.483 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004845/12.65, allocations: 39.25 kB / 4.483 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/12.65, allocations: 0 / 4.483 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001255/12.65, allocations: 0.7321 MB / 4.484 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/12.65, allocations: 86.09 kB / 4.484 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/12.65, allocations: 1.025 MB / 4.485 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/12.65, allocations: 40.14 kB / 4.485 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/12.65, allocations: 0.5165 MB / 4.485 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/12.65, allocations: 131.6 kB / 4.486 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/12.65, allocations: 6.812 kB / 4.486 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/12.65, allocations: 327.7 kB / 4.486 GB, free: 149 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/12.65, allocations: 190.6 kB / 4.486 GB, free: 149 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/12.65, allocations: 0.5229 MB / 4.487 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/12.65, allocations: 312.2 kB / 4.487 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/12.65, allocations: 11.39 kB / 4.487 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001197/12.65, allocations: 0.9193 MB / 4.488 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005641/12.65, allocations: 2.223 MB / 4.49 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/12.65, allocations: 3.75 kB / 4.49 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/12.65, allocations: 238 kB / 4.49 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/12.65, allocations: 82.38 kB / 4.49 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000952/12.66, allocations: 1.007 MB / 4.491 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/12.66, allocations: 100.1 kB / 4.491 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/12.66, allocations: 29.38 kB / 4.491 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/12.66, allocations: 4.562 kB / 4.491 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001234/12.66, allocations: 0.7451 MB / 4.492 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/12.66, allocations: 7.562 kB / 4.492 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/12.66, allocations: 226.5 kB / 4.492 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/12.66, allocations: 80.47 kB / 4.492 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/12.66, allocations: 2.879 MB / 4.495 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/12.66, allocations: 104.7 kB / 4.495 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/12.66, allocations: 22.91 kB / 4.495 GB, free: 143.6 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.0001757/12.66, allocations: 146.9 kB / 4.495 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/12.66, allocations: 118 kB / 4.496 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/12.66, allocations: 0.744 MB / 4.496 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/12.66, allocations: 10.89 kB / 4.496 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/12.66, allocations: 0 / 4.496 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/12.66, allocations: 0 / 4.496 GB, free: 143.1 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 0.002761/12.67, allocations: 2.106 MB / 4.498 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/12.67, allocations: 3.938 kB / 4.498 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/12.67, allocations: 60.42 kB / 4.498 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/12.67, allocations: 163.7 kB / 4.499 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/12.67, allocations: 18.8 kB / 4.499 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/12.67, allocations: 0.8448 MB / 4.499 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/12.67, allocations: 5.797 kB / 4.499 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/12.67, allocations: 0.9279 MB / 4.5 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/12.67, allocations: 232.5 kB / 4.501 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/12.67, allocations: 7.969 kB / 4.501 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/12.67, allocations: 85.06 kB / 4.501 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/12.67, allocations: 36.64 kB / 4.501 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/12.67, allocations: 14.08 kB / 4.501 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009847/12.67, allocations: 0.8117 MB / 4.501 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.67, allocations: 0 / 4.501 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001997/12.67, allocations: 0.6024 MB / 4.502 GB, free: 140.1 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.003468/12.68, allocations: 2.908 MB / 4.505 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001845/12.68, allocations: 1.111 MB / 4.506 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/12.68, allocations: 3.219 kB / 4.506 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/12.68, allocations: 234.1 kB / 4.506 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/12.68, allocations: 0.6503 MB / 4.507 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/12.69, allocations: 1.758 MB / 4.509 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/12.69, allocations: 1.237 MB / 4.51 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002233/12.69, allocations: 0.8048 MB / 4.511 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/12.69, allocations: 342.9 kB / 4.511 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/12.69, allocations: 0 / 4.511 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08678/12.78, allocations: 51.58 MB / 4.561 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/12.78, allocations: 244.3 kB / 4.561 GB, free: 90.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/16.49, allocations: 3.234 kB / 4.561 GB, free: 90.44 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)