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.457/1.457, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 182 kB / 326.5 MB, free: 2.227 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.819/1.819, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.0009598/0.0009595, allocations: 90.41 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 12.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.618/4.858, allocations: 2.182 GB / 3.082 GB, free: 38.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/4.858, allocations: 96.84 kB / 3.082 GB, free: 38.47 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.451/8.309, allocations: 1.035 GB / 4.117 GB, free: 34.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/8.31, allocations: 4 kB / 4.117 GB, free: 34.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001809/8.31, allocations: 35.92 kB / 4.117 GB, free: 34.92 MB / 0.8855 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.005717/8.315, allocations: 1.57 MB / 4.119 GB, free: 33.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/8.315, allocations: 8.031 kB / 4.119 GB, free: 33.28 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003691/8.316, allocations: 110.5 kB / 4.119 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/8.317, allocations: 198.3 kB / 4.119 GB, free: 32.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/8.321, allocations: 1.441 MB / 4.121 GB, free: 31.47 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/8.321, allocations: 45.31 kB / 4.121 GB, free: 31.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/8.322, allocations: 71.95 kB / 4.121 GB, free: 31.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/8.323, allocations: 0.9528 MB / 4.122 GB, free: 30.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/8.323, allocations: 4 kB / 4.122 GB, free: 30.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/8.323, allocations: 24 kB / 4.122 GB, free: 30.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/8.323, allocations: 15.94 kB / 4.122 GB, free: 30.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/8.324, allocations: 0.7493 MB / 4.122 GB, free: 29.54 MB / 0.8855 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.004442/8.329, allocations: 4.735 MB / 4.127 GB, free: 24.47 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/8.331, allocations: 4.062 MB / 4.131 GB, free: 19.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/8.331, allocations: 198.1 kB / 4.131 GB, free: 19.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/8.332, allocations: 326.6 kB / 4.131 GB, free: 19.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006393/8.332, allocations: 35.69 kB / 4.132 GB, free: 18.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 4.809e-06/8.332, allocations: 0 / 4.132 GB, free: 18.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.003371/8.336, allocations: 1.299 MB / 4.133 GB, free: 17.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/8.336, allocations: 89.03 kB / 4.133 GB, free: 17.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/8.337, allocations: 1.034 MB / 4.134 GB, free: 16.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.763e-05/8.337, allocations: 41.7 kB / 4.134 GB, free: 16.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/8.338, allocations: 0.5252 MB / 4.134 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/8.338, allocations: 122.3 kB / 4.135 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/8.338, allocations: 12 kB / 4.135 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.772e-05/8.338, allocations: 325.9 kB / 4.135 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/8.339, allocations: 209 kB / 4.135 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/8.339, allocations: 0.56 MB / 4.136 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/8.34, allocations: 323.7 kB / 4.136 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/8.34, allocations: 4 kB / 4.136 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001613/8.341, allocations: 0.9746 MB / 4.137 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000505/8.342, allocations: 2.225 MB / 4.139 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.342, allocations: 4 kB / 4.139 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/8.342, allocations: 289.8 kB / 4.139 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/8.343, allocations: 87.88 kB / 4.139 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/8.344, allocations: 1.663 MB / 4.141 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/8.345, allocations: 103.8 kB / 4.141 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/8.345, allocations: 28.17 kB / 4.141 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/8.345, allocations: 6.656 kB / 4.141 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/8.347, allocations: 0.8025 MB / 4.142 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/8.347, allocations: 8 kB / 4.142 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/8.347, allocations: 216.6 kB / 4.142 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/8.347, allocations: 83.73 kB / 4.142 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/8.351, allocations: 2.975 MB / 4.145 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/8.352, allocations: 103.8 kB / 4.145 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/8.352, allocations: 24 kB / 4.145 GB, free: 4.277 MB / 0.8855 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.0006158/8.352, allocations: 486.6 kB / 4.146 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/8.353, allocations: 106.7 kB / 4.146 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/8.354, allocations: 0.7889 MB / 4.147 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/8.354, allocations: 4 kB / 4.147 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/8.354, allocations: 11.94 kB / 4.147 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/8.354, allocations: 0 / 4.147 GB, free: 2.863 MB / 0.8855 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.002831/8.357, allocations: 2.152 MB / 4.149 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/8.357, allocations: 4 kB / 4.149 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/8.357, allocations: 63.89 kB / 4.149 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/8.357, allocations: 188.6 kB / 4.149 GB, free: 324 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/8.357, allocations: 12.25 kB / 4.149 GB, free: 312 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4788/8.836, allocations: 1.461 MB / 4.15 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/8.836, allocations: 5.219 kB / 4.15 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/8.838, allocations: 0.9763 MB / 4.151 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/8.839, allocations: 241.2 kB / 4.152 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/8.839, allocations: 10.06 kB / 4.152 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/8.84, allocations: 79.02 kB / 4.152 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/8.84, allocations: 34.89 kB / 4.152 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/8.84, allocations: 21.8 kB / 4.152 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001143/8.841, allocations: 0.82 MB / 4.153 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/8.841, allocations: 0 / 4.153 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002303/8.843, allocations: 0.6083 MB / 4.153 GB, free: 239.4 MB / 0.8855 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.002839/8.846, allocations: 2.921 MB / 4.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002668/8.849, allocations: 1.288 MB / 4.157 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/8.849, allocations: 3.75 kB / 4.157 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006899/8.849, allocations: 316.3 kB / 4.158 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/8.853, allocations: 0.6431 MB / 4.158 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/8.867, allocations: 10.57 MB / 4.168 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/8.868, allocations: 1.233 MB / 4.17 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001505/8.87, allocations: 391.5 kB / 4.17 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/8.87, allocations: 357.3 kB / 4.17 GB, free: 231 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/8.87, allocations: 0 / 4.17 GB, free: 231 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/8.973, allocations: 47.19 MB / 4.217 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/8.974, allocations: 286.8 kB / 4.217 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/12.33, allocations: 0 / 4.217 GB, free: 229.9 MB / 0.8855 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)