Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.001258/0.001258, allocations: 182.1 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.5309/0.5309, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.744/1.744, allocations: 223.1 MB / 354.3 MB, free: 12.16 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.001144/0.001144, allocations: 103.9 kB / 427.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.752/4.921, allocations: 1.823 GB / 2.392 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/4.922, allocations: 99.88 kB / 2.392 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.132/9.053, allocations: 1.081 GB / 3.472 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.534e-06/9.054, allocations: 0 / 3.472 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001152/9.054, allocations: 31.92 kB / 3.472 GB, free: 135.6 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005371/9.059, allocations: 1.578 MB / 3.474 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/9.059, allocations: 12.02 kB / 3.474 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002965/9.059, allocations: 98.52 kB / 3.474 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/9.06, allocations: 206.3 kB / 3.474 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/9.064, allocations: 1.437 MB / 3.476 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/9.064, allocations: 49.31 kB / 3.476 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.751e-05/9.064, allocations: 60 kB / 3.476 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/9.066, allocations: 0.9565 MB / 3.477 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/9.066, allocations: 0 / 3.477 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/9.066, allocations: 28 kB / 3.477 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/9.066, allocations: 20 kB / 3.477 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/9.067, allocations: 0.757 MB / 3.477 GB, free: 130.3 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.004337/9.071, allocations: 4.732 MB / 3.482 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/9.073, allocations: 4.061 MB / 3.486 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/9.073, allocations: 190.2 kB / 3.486 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004827/9.074, allocations: 329.7 kB / 3.486 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004929/9.074, allocations: 31.69 kB / 3.486 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.485e-06/9.074, allocations: 3.938 kB / 3.486 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.003678/9.078, allocations: 1.298 MB / 3.488 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/9.078, allocations: 81.11 kB / 3.488 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/9.079, allocations: 1.05 MB / 3.489 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/9.079, allocations: 33.7 kB / 3.489 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/9.08, allocations: 0.5205 MB / 3.489 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/9.08, allocations: 134.2 kB / 3.49 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/9.08, allocations: 12 kB / 3.49 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/9.08, allocations: 322 kB / 3.49 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/9.08, allocations: 209 kB / 3.49 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/9.081, allocations: 0.556 MB / 3.491 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/9.081, allocations: 334.4 kB / 3.491 GB, free: 115 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/9.081, allocations: 0 / 3.491 GB, free: 115 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001463/9.082, allocations: 0.9703 MB / 3.492 GB, free: 114 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006041/9.083, allocations: 2.23 MB / 3.494 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/9.083, allocations: 11.94 kB / 3.494 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/9.084, allocations: 285.9 kB / 3.494 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/9.084, allocations: 91.84 kB / 3.494 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/9.086, allocations: 1.652 MB / 3.496 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/9.087, allocations: 103.8 kB / 3.496 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/9.087, allocations: 27.98 kB / 3.496 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/9.087, allocations: 4 kB / 3.496 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001262/9.088, allocations: 0.7941 MB / 3.497 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/9.088, allocations: 8 kB / 3.497 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/9.089, allocations: 217.3 kB / 3.497 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/9.089, allocations: 79.83 kB / 3.497 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/9.092, allocations: 2.965 MB / 3.5 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/9.094, allocations: 107.7 kB / 3.5 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/9.094, allocations: 28 kB / 3.5 GB, free: 105.1 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008523/9.094, allocations: 484.9 kB / 3.501 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/9.095, allocations: 110.7 kB / 3.501 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/9.096, allocations: 0.7932 MB / 3.502 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/9.096, allocations: 4 kB / 3.502 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/9.096, allocations: 0 / 3.502 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/9.096, allocations: 0 / 3.502 GB, free: 103.7 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.002891/9.099, allocations: 2.159 MB / 3.504 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/9.099, allocations: 4 kB / 3.504 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/9.099, allocations: 63.89 kB / 3.504 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/9.1, allocations: 196.6 kB / 3.504 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/9.1, allocations: 15.98 kB / 3.504 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008664/9.1, allocations: 1.465 MB / 3.505 GB, free: 99.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/9.101, allocations: 4.031 kB / 3.505 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/9.102, allocations: 0.9589 MB / 3.506 GB, free: 98.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/9.102, allocations: 235.7 kB / 3.507 GB, free: 98.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/9.102, allocations: 15.94 kB / 3.507 GB, free: 98.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/9.103, allocations: 79.77 kB / 3.507 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/9.103, allocations: 31.89 kB / 3.507 GB, free: 98.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/9.103, allocations: 19.98 kB / 3.507 GB, free: 98.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009145/9.104, allocations: 0.8209 MB / 3.507 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/9.104, allocations: 0 / 3.507 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002101/9.106, allocations: 0.6011 MB / 3.508 GB, free: 96.72 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003222/9.109, allocations: 2.944 MB / 3.511 GB, free: 93.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002735/9.112, allocations: 1.276 MB / 3.512 GB, free: 92.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/9.112, allocations: 0 / 3.512 GB, free: 92.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/9.113, allocations: 320.2 kB / 3.513 GB, free: 92.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/9.116, allocations: 0.6457 MB / 3.513 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/9.129, allocations: 10.56 MB / 3.523 GB, free: 80.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/9.129, allocations: 1.233 MB / 3.525 GB, free: 79.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00136/9.131, allocations: 396.5 kB / 3.525 GB, free: 78.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/9.131, allocations: 359.3 kB / 3.525 GB, free: 78.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-05/9.131, allocations: 0 / 3.525 GB, free: 78.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07855/9.21, allocations: 47.18 MB / 3.571 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/9.21, allocations: 267.8 kB / 3.572 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.722/12.93, allocations: 8 kB / 3.572 GB, free: 31.34 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)