Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.2 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 179.5 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 0.6305 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009717/0.000972, allocations: 87.44 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 11.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.705/4.934, allocations: 2.064 GB / 3.043 GB, free: 254.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/4.935, allocations: 95.94 kB / 3.043 GB, free: 254.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.675/8.609, allocations: 1.072 GB / 4.115 GB, free: 259.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.797e-06/8.609, allocations: 3.125 kB / 4.115 GB, free: 259.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000195/8.609, allocations: 32.95 kB / 4.115 GB, free: 259.6 MB / 0.948 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.006367/8.616, allocations: 1.575 MB / 4.117 GB, free: 258.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/8.616, allocations: 10.91 kB / 4.117 GB, free: 258.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004654/8.616, allocations: 100.8 kB / 4.117 GB, free: 258.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/8.618, allocations: 206.2 kB / 4.117 GB, free: 258.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004811/8.623, allocations: 1.433 MB / 4.119 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/8.623, allocations: 51.95 kB / 4.119 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/8.623, allocations: 67.45 kB / 4.119 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/8.625, allocations: 0.9568 MB / 4.12 GB, free: 256.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/8.625, allocations: 0 / 4.12 GB, free: 256.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/8.625, allocations: 26.78 kB / 4.12 GB, free: 256.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/8.625, allocations: 15.03 kB / 4.12 GB, free: 256.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/8.626, allocations: 0.7616 MB / 4.121 GB, free: 256.5 MB / 0.948 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.005546/8.632, allocations: 4.724 MB / 4.125 GB, free: 252.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/8.634, allocations: 4.053 MB / 4.129 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/8.634, allocations: 198.8 kB / 4.129 GB, free: 247.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005328/8.635, allocations: 320.9 kB / 4.13 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006671/8.635, allocations: 25.56 kB / 4.13 GB, free: 247.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.777e-06/8.635, allocations: 3.688 kB / 4.13 GB, free: 247.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003433/8.639, allocations: 1.302 MB / 4.131 GB, free: 246.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/8.639, allocations: 87.7 kB / 4.131 GB, free: 246.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/8.64, allocations: 1.038 MB / 4.132 GB, free: 246.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/8.641, allocations: 40.45 kB / 4.132 GB, free: 246 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/8.641, allocations: 0.519 MB / 4.133 GB, free: 245.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/8.641, allocations: 139.2 kB / 4.133 GB, free: 245.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/8.641, allocations: 10.97 kB / 4.133 GB, free: 245.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.24e-05/8.641, allocations: 329.5 kB / 4.133 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/8.642, allocations: 207.4 kB / 4.133 GB, free: 245 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/8.642, allocations: 0.5477 MB / 4.134 GB, free: 244.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/8.643, allocations: 336.6 kB / 4.134 GB, free: 244.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/8.643, allocations: 11.05 kB / 4.134 GB, free: 244.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001718/8.644, allocations: 0.9637 MB / 4.135 GB, free: 243.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005333/8.645, allocations: 2.228 MB / 4.137 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/8.645, allocations: 6.625 kB / 4.137 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/8.646, allocations: 292.9 kB / 4.137 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/8.646, allocations: 85.98 kB / 4.138 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/8.648, allocations: 1.666 MB / 4.139 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/8.649, allocations: 111.4 kB / 4.139 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.983e-05/8.649, allocations: 24.12 kB / 4.139 GB, free: 239.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/8.649, allocations: 7.781 kB / 4.139 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/8.651, allocations: 0.7893 MB / 4.14 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/8.651, allocations: 3.969 kB / 4.14 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/8.651, allocations: 222.3 kB / 4.14 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/8.651, allocations: 87.45 kB / 4.14 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/8.655, allocations: 2.948 MB / 4.143 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/8.656, allocations: 109.8 kB / 4.143 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/8.656, allocations: 27.2 kB / 4.143 GB, free: 237 MB / 0.948 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.0009702/8.657, allocations: 484.2 kB / 4.144 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/8.658, allocations: 107.8 kB / 4.144 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/8.659, allocations: 0.7973 MB / 4.145 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/8.659, allocations: 3.438 kB / 4.145 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/8.659, allocations: 0 / 4.145 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/8.659, allocations: 3.984 kB / 4.145 GB, free: 236.1 MB / 0.948 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.00371/8.663, allocations: 2.159 MB / 4.147 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/8.663, allocations: 7.922 kB / 4.147 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/8.663, allocations: 57.75 kB / 4.147 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/8.664, allocations: 204.8 kB / 4.147 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/8.664, allocations: 11.16 kB / 4.147 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/8.665, allocations: 1.461 MB / 4.149 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/8.665, allocations: 1.969 kB / 4.149 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/8.666, allocations: 0.9804 MB / 4.15 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/8.667, allocations: 235.1 kB / 4.15 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/8.668, allocations: 7.875 kB / 4.15 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/8.669, allocations: 78.41 kB / 4.15 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/8.669, allocations: 38.31 kB / 4.15 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/8.669, allocations: 18.44 kB / 4.15 GB, free: 232.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001419/8.67, allocations: 0.8302 MB / 4.151 GB, free: 231.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/8.67, allocations: 0 / 4.151 GB, free: 231.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002706/8.673, allocations: 0.5981 MB / 4.151 GB, free: 231.6 MB / 0.948 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.003279/8.676, allocations: 2.939 MB / 4.154 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003047/8.679, allocations: 1.279 MB / 4.155 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/8.679, allocations: 4.062 kB / 4.155 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006449/8.68, allocations: 312.1 kB / 4.156 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/8.684, allocations: 0.651 MB / 4.156 GB, free: 228.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/8.698, allocations: 10.57 MB / 4.167 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/8.699, allocations: 1.236 MB / 4.168 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001445/8.701, allocations: 379.2 kB / 4.168 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/8.701, allocations: 359.3 kB / 4.169 GB, free: 216.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.084e-06/8.701, allocations: 0 / 4.169 GB, free: 216.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07641/8.778, allocations: 47.2 MB / 4.215 GB, free: 170 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/8.778, allocations: 278.5 kB / 4.215 GB, free: 169.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/12.08, allocations: 0 / 4.215 GB, free: 169.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)