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.001321/0.001321, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.516/0.516, allocations: 90.81 MB / 104.5 MB, free: 13.88 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.52/1.52, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.0009451/0.0009449, allocations: 102.3 kB / 421.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.093e-05, allocations: 4 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1511, allocations: 72.32 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.276/4.427, allocations: 1.823 GB / 2.383 GB, free: 77.96 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/4.427, allocations: 95.94 kB / 2.383 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.271/8.698, allocations: 1.08 GB / 3.463 GB, free: 147 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/8.698, allocations: 0 / 3.463 GB, free: 147 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001125/8.698, allocations: 37 kB / 3.463 GB, free: 147 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.004115/8.702, allocations: 1.278 MB / 3.464 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/8.702, allocations: 10.67 kB / 3.464 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/8.703, allocations: 104.4 kB / 3.464 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/8.704, allocations: 199.9 kB / 3.464 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/8.707, allocations: 1.432 MB / 3.466 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/8.708, allocations: 50.41 kB / 3.466 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/8.708, allocations: 67.5 kB / 3.466 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/8.709, allocations: 0.9191 MB / 3.467 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/8.709, allocations: 3.938 kB / 3.467 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/8.709, allocations: 26.94 kB / 3.467 GB, free: 145 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/8.709, allocations: 14.56 kB / 3.467 GB, free: 145 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009939/8.71, allocations: 0.7046 MB / 3.468 GB, free: 144.8 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.005266/8.716, allocations: 4.731 MB / 3.472 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/8.717, allocations: 4.016 MB / 3.476 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/8.718, allocations: 327.6 kB / 3.476 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/8.718, allocations: 197.4 kB / 3.477 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/8.719, allocations: 307.6 kB / 3.477 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004973/8.719, allocations: 32.78 kB / 3.477 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.845e-06/8.719, allocations: 0 / 3.477 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001301/8.72, allocations: 0.7295 MB / 3.478 GB, free: 136 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/8.72, allocations: 84.27 kB / 3.478 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/8.722, allocations: 1.027 MB / 3.479 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/8.722, allocations: 40.33 kB / 3.479 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/8.722, allocations: 0.5175 MB / 3.479 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/8.722, allocations: 121 kB / 3.479 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/8.722, allocations: 10.22 kB / 3.479 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/8.722, allocations: 331.4 kB / 3.48 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/8.722, allocations: 185 kB / 3.48 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/8.723, allocations: 0.5276 MB / 3.48 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/8.723, allocations: 312.8 kB / 3.481 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/8.723, allocations: 3.969 kB / 3.481 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001263/8.724, allocations: 0.9312 MB / 3.482 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000479/8.725, allocations: 2.234 MB / 3.484 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/8.725, allocations: 3.562 kB / 3.484 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/8.726, allocations: 281.8 kB / 3.484 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/8.726, allocations: 84.45 kB / 3.484 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/8.727, allocations: 1.658 MB / 3.486 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/8.728, allocations: 102.2 kB / 3.486 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/8.729, allocations: 30.64 kB / 3.486 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/8.729, allocations: 5.656 kB / 3.486 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/8.73, allocations: 0.7462 MB / 3.487 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/8.73, allocations: 7.531 kB / 3.487 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/8.73, allocations: 215.7 kB / 3.487 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/8.73, allocations: 84.83 kB / 3.487 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/8.733, allocations: 2.905 MB / 3.49 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/8.735, allocations: 111.7 kB / 3.49 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/8.735, allocations: 26.53 kB / 3.49 GB, free: 126.5 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.0001988/8.735, allocations: 145.4 kB / 3.49 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/8.735, allocations: 106.1 kB / 3.49 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/8.736, allocations: 0.7599 MB / 3.491 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/8.736, allocations: 3.438 kB / 3.491 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/8.736, allocations: 0 / 3.491 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/8.736, allocations: 3.984 kB / 3.491 GB, free: 125.9 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.002852/8.739, allocations: 2.112 MB / 3.493 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/8.739, allocations: 2.906 kB / 3.493 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/8.739, allocations: 59.89 kB / 3.493 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/8.74, allocations: 196 kB / 3.493 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/8.74, allocations: 8 kB / 3.493 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/8.741, allocations: 1.472 MB / 3.495 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/8.741, allocations: 7.641 kB / 3.495 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/8.742, allocations: 0.9177 MB / 3.495 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/8.742, allocations: 235.7 kB / 3.496 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/8.743, allocations: 12 kB / 3.496 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000843/8.743, allocations: 81.14 kB / 3.496 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/8.744, allocations: 31.95 kB / 3.496 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/8.744, allocations: 16 kB / 3.496 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00119/8.745, allocations: 0.8139 MB / 3.497 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/8.745, allocations: 0 / 3.497 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002233/8.747, allocations: 0.6011 MB / 3.497 GB, free: 119.8 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.002965/8.75, allocations: 2.914 MB / 3.5 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002516/8.753, allocations: 1.238 MB / 3.501 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/8.753, allocations: 0 / 3.501 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/8.753, allocations: 295 kB / 3.502 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/8.757, allocations: 0.6462 MB / 3.502 GB, free: 115 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/8.761, allocations: 1.772 MB / 3.504 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/8.762, allocations: 1.232 MB / 3.505 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002356/8.764, allocations: 0.8046 MB / 3.506 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/8.764, allocations: 343.3 kB / 3.506 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.703e-06/8.764, allocations: 0 / 3.506 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08755/8.852, allocations: 51.4 MB / 3.556 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/8.852, allocations: 234.2 kB / 3.557 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.919/12.77, allocations: 0 / 3.557 GB, free: 59.55 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)