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.002397/0.002398, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5411/0.5411, allocations: 90.92 MB / 99.35 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 99.2 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.916e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.198/4.339, allocations: 1.822 GB / 2.376 GB, free: 81.11 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/4.339, allocations: 94.25 kB / 2.376 GB, free: 81.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.171/8.51, allocations: 1.068 GB / 3.444 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/8.511, allocations: 0 / 3.444 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002268/8.511, allocations: 34.22 kB / 3.444 GB, free: 150.4 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.005635/8.516, allocations: 1.277 MB / 3.445 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.058e-05/8.516, allocations: 7.875 kB / 3.445 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/8.518, allocations: 203.7 kB / 3.446 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004925/8.523, allocations: 1.423 MB / 3.447 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/8.523, allocations: 17.69 kB / 3.447 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/8.524, allocations: 45.89 kB / 3.447 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001496/8.525, allocations: 0.7051 MB / 3.448 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/8.527, allocations: 0.8435 MB / 3.449 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/8.527, allocations: 6.469 kB / 3.449 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/8.527, allocations: 0 / 3.449 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/8.527, allocations: 19.28 kB / 3.449 GB, free: 149.2 MB / 0.6042 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.005915/8.533, allocations: 4.592 MB / 3.453 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/8.535, allocations: 4.078 MB / 3.457 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/8.535, allocations: 334.9 kB / 3.457 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/8.536, allocations: 198.6 kB / 3.458 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003739/8.536, allocations: 298 kB / 3.458 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000565/8.537, allocations: 12.11 kB / 3.458 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.975e-06/8.537, allocations: 0 / 3.458 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001999/8.539, allocations: 0.8177 MB / 3.459 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/8.539, allocations: 84.23 kB / 3.459 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/8.54, allocations: 0.9023 MB / 3.46 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/8.54, allocations: 28.8 kB / 3.46 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/8.54, allocations: 0.526 MB / 3.46 GB, free: 141 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/8.541, allocations: 117.6 kB / 3.46 GB, free: 141 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/8.541, allocations: 0 / 3.46 GB, free: 141 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/8.541, allocations: 330.4 kB / 3.461 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/8.541, allocations: 204.4 kB / 3.461 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/8.541, allocations: 0.5333 MB / 3.461 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/8.542, allocations: 303 kB / 3.462 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/8.542, allocations: 0 / 3.462 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001752/8.544, allocations: 0.9601 MB / 3.463 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005924/8.544, allocations: 2.219 MB / 3.465 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/8.544, allocations: 7.75 kB / 3.465 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/8.545, allocations: 258.3 kB / 3.465 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/8.545, allocations: 88.95 kB / 3.465 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/8.547, allocations: 1.768 MB / 3.467 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/8.548, allocations: 91.28 kB / 3.467 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/8.548, allocations: 25.84 kB / 3.467 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/8.548, allocations: 4.75 kB / 3.467 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/8.549, allocations: 0.6591 MB / 3.468 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/8.549, allocations: 7.031 kB / 3.468 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/8.55, allocations: 202.8 kB / 3.468 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/8.55, allocations: 80.77 kB / 3.468 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/8.553, allocations: 2.793 MB / 3.471 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/8.554, allocations: 91.17 kB / 3.471 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/8.554, allocations: 26.03 kB / 3.471 GB, free: 135.4 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 () * 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.0001906/8.554, allocations: 132.9 kB / 3.471 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001027/8.555, allocations: 0.6732 MB / 3.471 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/8.556, allocations: 104.8 kB / 3.472 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/8.557, allocations: 0.7115 MB / 3.472 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/8.557, allocations: 7.203 kB / 3.472 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/8.557, allocations: 1.312 kB / 3.472 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/8.557, allocations: 3.375 kB / 3.472 GB, free: 135 MB / 0.6042 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.002751/8.56, allocations: 2.009 MB / 3.474 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/8.56, allocations: 2.562 kB / 3.474 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/8.56, allocations: 59.69 kB / 3.474 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/8.56, allocations: 159.2 kB / 3.474 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/8.56, allocations: 12.06 kB / 3.474 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008918/8.561, allocations: 1.48 MB / 3.476 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/8.561, allocations: 192 / 3.476 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/8.562, allocations: 0.8909 MB / 3.477 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/8.563, allocations: 222.4 kB / 3.477 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/8.563, allocations: 15.66 kB / 3.477 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/8.564, allocations: 74.92 kB / 3.477 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/8.564, allocations: 36.69 kB / 3.477 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/8.564, allocations: 13.45 kB / 3.477 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000878/8.565, allocations: 0.7003 MB / 3.478 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/8.565, allocations: 0 / 3.478 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00196/8.567, allocations: 0.5592 MB / 3.478 GB, free: 132.4 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) * 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.002888/8.569, allocations: 3.016 MB / 3.481 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002371/8.572, allocations: 1.211 MB / 3.482 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/8.572, allocations: 3.906 kB / 3.482 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004929/8.572, allocations: 287.9 kB / 3.483 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/8.576, allocations: 0.5816 MB / 3.483 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/8.58, allocations: 1.711 MB / 3.485 GB, free: 130 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/8.58, allocations: 1.239 MB / 3.486 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002132/8.582, allocations: 0.7077 MB / 3.487 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/8.583, allocations: 332.1 kB / 3.487 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.322e-06/8.583, allocations: 0 / 3.487 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/8.651, allocations: 36.3 MB / 3.523 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/8.651, allocations: 191.6 kB / 3.523 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/11.76, allocations: 0 / 3.523 GB, free: 106.9 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)