Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_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.001352/0.001351, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5371/0.5371, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.738/1.738, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 111.3 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 72.31 MB / 0.5689 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/5.014, allocations: 1.825 GB / 2.394 GB, free: 29.57 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004206/5.015, allocations: 91.95 kB / 2.394 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.735/12.75, allocations: 2.008 GB / 4.402 GB, free: 86.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.717e-06/12.75, allocations: 4 kB / 4.402 GB, free: 86.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001213/12.75, allocations: 35.98 kB / 4.402 GB, free: 86.73 MB / 0.6042 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.005029/12.75, allocations: 1.574 MB / 4.404 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/12.75, allocations: 8.031 kB / 4.404 GB, free: 85.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002479/12.76, allocations: 102.5 kB / 4.404 GB, free: 84.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/12.76, allocations: 198.3 kB / 4.404 GB, free: 84.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/12.76, allocations: 1.48 MB / 4.406 GB, free: 83.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/12.76, allocations: 45.31 kB / 4.406 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/12.76, allocations: 68 kB / 4.406 GB, free: 83.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/12.76, allocations: 0.9487 MB / 4.407 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/12.76, allocations: 7.938 kB / 4.407 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/12.76, allocations: 20 kB / 4.407 GB, free: 82.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/12.76, allocations: 16 kB / 4.407 GB, free: 82.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/12.76, allocations: 0.7532 MB / 4.407 GB, free: 81.31 MB / 0.6042 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.004055/12.77, allocations: 4.69 MB / 4.412 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/12.77, allocations: 4.014 MB / 4.416 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/12.77, allocations: 202.2 kB / 4.416 GB, free: 71.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/12.77, allocations: 329.2 kB / 4.416 GB, free: 70.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004478/12.77, allocations: 27.75 kB / 4.416 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.884e-06/12.77, allocations: 4 kB / 4.416 GB, free: 70.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.003279/12.77, allocations: 1.414 MB / 4.418 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/12.77, allocations: 81.11 kB / 4.418 GB, free: 69.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/12.77, allocations: 1.046 MB / 4.419 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/12.77, allocations: 41.7 kB / 4.419 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/12.77, allocations: 0.5204 MB / 4.42 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/12.77, allocations: 126.2 kB / 4.42 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/12.77, allocations: 12 kB / 4.42 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/12.77, allocations: 326 kB / 4.42 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/12.77, allocations: 205 kB / 4.42 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/12.78, allocations: 0.5638 MB / 4.421 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/12.78, allocations: 333.7 kB / 4.421 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/12.78, allocations: 4 kB / 4.421 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001397/12.78, allocations: 0.9825 MB / 4.422 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005313/12.78, allocations: 2.229 MB / 4.424 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/12.78, allocations: 8 kB / 4.424 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/12.78, allocations: 274.6 kB / 4.424 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/12.78, allocations: 75.83 kB / 4.425 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008355/12.78, allocations: 1.044 MB / 4.426 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/12.78, allocations: 99.81 kB / 4.426 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/12.78, allocations: 31.98 kB / 4.426 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/12.78, allocations: 4 kB / 4.426 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/12.78, allocations: 0.8136 MB / 4.426 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/12.78, allocations: 8 kB / 4.426 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/12.78, allocations: 259.6 kB / 4.427 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/12.78, allocations: 79.88 kB / 4.427 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/12.79, allocations: 3.15 MB / 4.43 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/12.79, allocations: 107.8 kB / 4.43 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/12.79, allocations: 24 kB / 4.43 GB, free: 56.46 MB / 0.6042 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.0007003/12.79, allocations: 473 kB / 4.43 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/12.79, allocations: 114.6 kB / 4.431 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/12.79, allocations: 0.8165 MB / 4.431 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/12.79, allocations: 4 kB / 4.431 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/12.79, allocations: 8 kB / 4.431 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/12.79, allocations: 0 / 4.431 GB, free: 55.02 MB / 0.6042 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.002654/12.79, allocations: 2.206 MB / 4.434 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/12.79, allocations: 0 / 4.434 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/12.79, allocations: 51.89 kB / 4.434 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/12.79, allocations: 208.9 kB / 4.434 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/12.79, allocations: 8 kB / 4.434 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000601/12.79, allocations: 0.8797 MB / 4.435 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/12.79, allocations: 4 kB / 4.435 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/12.79, allocations: 0.9901 MB / 4.436 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/12.8, allocations: 231.7 kB / 4.436 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/12.8, allocations: 19.98 kB / 4.436 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/12.8, allocations: 75.67 kB / 4.436 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/12.8, allocations: 39.84 kB / 4.436 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/12.8, allocations: 19.98 kB / 4.436 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000921/12.8, allocations: 0.8211 MB / 4.437 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/12.8, allocations: 4 kB / 4.437 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001909/12.8, allocations: 0.6129 MB / 4.437 GB, free: 48.58 MB / 0.6042 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.002849/12.8, allocations: 3.005 MB / 4.44 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001971/12.8, allocations: 1.146 MB / 4.441 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/12.8, allocations: 4 kB / 4.441 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000427/12.8, allocations: 260 kB / 4.442 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/12.81, allocations: 0.6523 MB / 4.442 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/12.82, allocations: 10.47 MB / 4.453 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/12.82, allocations: 1.24 MB / 4.454 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001386/12.82, allocations: 376.6 kB / 4.454 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/12.82, allocations: 355.3 kB / 4.454 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.743e-06/12.82, allocations: 0 / 4.454 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4807/13.3, allocations: 48.51 MB / 4.502 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/13.3, allocations: 276.8 kB / 4.502 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.892/17.19, allocations: 0 / 4.502 GB, free: 120.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)