Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001257, allocations: 192.2 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 93.75 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.896e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.785/6.005, allocations: 2.182 GB / 3.067 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/6.005, allocations: 84.58 kB / 3.067 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.54/9.545, allocations: 1.023 GB / 4.09 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.784e-06/9.546, allocations: 0 / 4.09 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001009/9.546, allocations: 39.34 kB / 4.09 GB, free: 196.7 MB / 0.8698 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.003577/9.549, allocations: 1.272 MB / 4.092 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/9.549, allocations: 12.56 kB / 4.092 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/9.55, allocations: 198.3 kB / 4.092 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/9.553, allocations: 1.427 MB / 4.093 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/9.553, allocations: 19.95 kB / 4.093 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/9.553, allocations: 40 kB / 4.093 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008669/9.554, allocations: 0.7014 MB / 4.094 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/9.555, allocations: 0.8531 MB / 4.095 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/9.555, allocations: 0 / 4.095 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/9.555, allocations: 4 kB / 4.095 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/9.555, allocations: 12 kB / 4.095 GB, free: 192.1 MB / 0.8698 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.003347/9.559, allocations: 4.615 MB / 4.099 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/9.56, allocations: 4.076 MB / 4.103 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/9.561, allocations: 337.9 kB / 4.104 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/9.561, allocations: 197.9 kB / 4.104 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/9.561, allocations: 285.4 kB / 4.104 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003248/9.562, allocations: 19.84 kB / 4.104 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.334e-06/9.562, allocations: 3.938 kB / 4.104 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001595/9.563, allocations: 0.8199 MB / 4.105 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/9.563, allocations: 81.11 kB / 4.105 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/9.564, allocations: 0.8985 MB / 4.106 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/9.564, allocations: 29.7 kB / 4.106 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/9.564, allocations: 0.5207 MB / 4.106 GB, free: 179 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/9.564, allocations: 122.2 kB / 4.107 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/9.564, allocations: 4 kB / 4.107 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/9.565, allocations: 333.9 kB / 4.107 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/9.565, allocations: 201 kB / 4.107 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/9.565, allocations: 0.5277 MB / 4.108 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/9.565, allocations: 305.3 kB / 4.108 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/9.566, allocations: 0 / 4.108 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001367/9.567, allocations: 0.957 MB / 4.109 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004909/9.567, allocations: 2.229 MB / 4.111 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/9.567, allocations: 7.984 kB / 4.111 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/9.568, allocations: 250.9 kB / 4.111 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/9.568, allocations: 103.6 kB / 4.111 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/9.57, allocations: 1.759 MB / 4.113 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/9.571, allocations: 87.83 kB / 4.113 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/9.571, allocations: 35.98 kB / 4.113 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/9.571, allocations: 4 kB / 4.113 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009715/9.572, allocations: 0.6487 MB / 4.114 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/9.572, allocations: 8.094 kB / 4.114 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/9.572, allocations: 201.1 kB / 4.114 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/9.572, allocations: 83.83 kB / 4.114 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/9.575, allocations: 2.786 MB / 4.117 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/9.576, allocations: 95.8 kB / 4.117 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/9.576, allocations: 27.98 kB / 4.117 GB, free: 167.7 MB / 0.8698 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.0001498/9.576, allocations: 126.1 kB / 4.117 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008129/9.577, allocations: 0.679 MB / 4.118 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/9.577, allocations: 102.8 kB / 4.118 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000993/9.578, allocations: 0.7261 MB / 4.119 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/9.578, allocations: 4 kB / 4.119 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/9.578, allocations: 0 / 4.119 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/9.578, allocations: 7.984 kB / 4.119 GB, free: 166.1 MB / 0.8698 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.002129/9.58, allocations: 2.011 MB / 4.121 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/9.58, allocations: 4 kB / 4.121 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/9.581, allocations: 59.89 kB / 4.121 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/9.581, allocations: 156.7 kB / 4.121 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/9.581, allocations: 11.98 kB / 4.121 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007401/9.582, allocations: 1.484 MB / 4.122 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/9.582, allocations: 4.031 kB / 4.122 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/9.582, allocations: 0.8955 MB / 4.123 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/9.583, allocations: 228 kB / 4.123 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/9.583, allocations: 0 / 4.123 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/9.583, allocations: 83.69 kB / 4.123 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/9.584, allocations: 31.95 kB / 4.123 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/9.584, allocations: 12 kB / 4.123 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006823/9.584, allocations: 0.7023 MB / 4.124 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.41e-07/9.584, allocations: 0 / 4.124 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001635/9.586, allocations: 0.5656 MB / 4.125 GB, free: 159.5 MB / 0.8698 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.002219/9.588, allocations: 3.008 MB / 4.128 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00204/9.59, allocations: 1.211 MB / 4.129 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/9.59, allocations: 5 kB / 4.129 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/9.591, allocations: 284 kB / 4.129 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/9.594, allocations: 0.5818 MB / 4.13 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/9.596, allocations: 1.722 MB / 4.131 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/9.597, allocations: 1.234 MB / 4.133 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001656/9.598, allocations: 0.7142 MB / 4.133 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/9.599, allocations: 323.3 kB / 4.134 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of SimCode: time 8.71e-07/9.599, allocations: 0 / 4.134 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06089/9.66, allocations: 36.29 MB / 4.169 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/9.66, allocations: 197.4 kB / 4.169 GB, free: 114 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/12.81, allocations: 3.375 kB / 4.169 GB, free: 114 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)