Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.349/2.349, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 188.8 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.000983, allocations: 95.83 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.886e-05, allocations: 5.406 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3093, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.723/6.032, allocations: 1.869 GB / 3.082 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/6.033, allocations: 92.3 kB / 3.082 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.8/9.833, allocations: 1.069 GB / 4.15 GB, free: 215.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.465e-06/9.833, allocations: 0 / 4.15 GB, free: 215.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001195/9.833, allocations: 31.98 kB / 4.15 GB, free: 215.3 MB / 1.151 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.004478/9.837, allocations: 1.277 MB / 4.152 GB, free: 213.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/9.837, allocations: 8.031 kB / 4.152 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/9.839, allocations: 198.4 kB / 4.152 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/9.842, allocations: 1.437 MB / 4.153 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/9.842, allocations: 16 kB / 4.153 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/9.842, allocations: 40 kB / 4.153 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009985/9.843, allocations: 0.7014 MB / 4.154 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/9.844, allocations: 0.8474 MB / 4.155 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/9.844, allocations: 3.938 kB / 4.155 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/9.844, allocations: 11.97 kB / 4.155 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/9.844, allocations: 15.95 kB / 4.155 GB, free: 210.5 MB / 1.151 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.004277/9.849, allocations: 4.597 MB / 4.159 GB, free: 205.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/9.851, allocations: 4.076 MB / 4.163 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/9.851, allocations: 348.6 kB / 4.164 GB, free: 200.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/9.851, allocations: 198.2 kB / 4.164 GB, free: 200.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/9.852, allocations: 286.7 kB / 4.164 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004787/9.852, allocations: 19.69 kB / 4.164 GB, free: 199.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.256e-06/9.852, allocations: 8 kB / 4.164 GB, free: 199.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001736/9.854, allocations: 0.8126 MB / 4.165 GB, free: 199 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/9.854, allocations: 89.05 kB / 4.165 GB, free: 198.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/9.855, allocations: 0.8986 MB / 4.166 GB, free: 198 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/9.855, allocations: 25.7 kB / 4.166 GB, free: 198 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/9.855, allocations: 0.5315 MB / 4.166 GB, free: 197.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/9.855, allocations: 118.2 kB / 4.167 GB, free: 197.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/9.856, allocations: 0 / 4.167 GB, free: 197.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/9.856, allocations: 330 kB / 4.167 GB, free: 197 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/9.856, allocations: 205 kB / 4.167 GB, free: 196.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/9.856, allocations: 0.5355 MB / 4.168 GB, free: 196.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/9.857, allocations: 290.2 kB / 4.168 GB, free: 195.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/9.857, allocations: 0 / 4.168 GB, free: 195.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001539/9.858, allocations: 0.9689 MB / 4.169 GB, free: 194.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005742/9.859, allocations: 2.217 MB / 4.171 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/9.859, allocations: 4 kB / 4.171 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/9.859, allocations: 258.6 kB / 4.171 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/9.86, allocations: 91.89 kB / 4.171 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/9.861, allocations: 1.76 MB / 4.173 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/9.862, allocations: 87.8 kB / 4.173 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.222e-05/9.863, allocations: 27.98 kB / 4.173 GB, free: 190.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/9.863, allocations: 8 kB / 4.173 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/9.864, allocations: 0.6523 MB / 4.174 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/9.864, allocations: 8.656 kB / 4.174 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/9.864, allocations: 197.8 kB / 4.174 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/9.864, allocations: 95.77 kB / 4.174 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/9.867, allocations: 2.793 MB / 4.177 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/9.869, allocations: 91.81 kB / 4.177 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/9.869, allocations: 27.98 kB / 4.177 GB, free: 186.2 MB / 1.151 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.0002117/9.869, allocations: 119.5 kB / 4.177 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009702/9.87, allocations: 0.6839 MB / 4.178 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/9.87, allocations: 98.78 kB / 4.178 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/9.871, allocations: 0.7183 MB / 4.178 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/9.871, allocations: 8 kB / 4.178 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/9.871, allocations: 3.984 kB / 4.178 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/9.871, allocations: 0 / 4.178 GB, free: 184.5 MB / 1.151 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.002341/9.873, allocations: 2.002 MB / 4.18 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/9.873, allocations: 8.031 kB / 4.18 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/9.874, allocations: 67.81 kB / 4.181 GB, free: 182.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/9.874, allocations: 154.5 kB / 4.181 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/9.874, allocations: 11.94 kB / 4.181 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008804/9.875, allocations: 1.485 MB / 4.182 GB, free: 180.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/9.875, allocations: 11.98 kB / 4.182 GB, free: 180.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/9.876, allocations: 0.8855 MB / 4.183 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/9.876, allocations: 235.7 kB / 4.183 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/9.876, allocations: 3.984 kB / 4.183 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/9.877, allocations: 71.77 kB / 4.183 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/9.877, allocations: 39.84 kB / 4.183 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/9.877, allocations: 16 kB / 4.183 GB, free: 179.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008097/9.878, allocations: 0.7023 MB / 4.184 GB, free: 178.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.878, allocations: 0 / 4.184 GB, free: 178.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001849/9.88, allocations: 0.5618 MB / 4.185 GB, free: 178 MB / 1.151 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.002841/9.883, allocations: 3.01 MB / 4.188 GB, free: 174.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002411/9.885, allocations: 1.207 MB / 4.189 GB, free: 173.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/9.885, allocations: 4.938 kB / 4.189 GB, free: 173.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/9.886, allocations: 284 kB / 4.189 GB, free: 173.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/9.889, allocations: 0.5862 MB / 4.19 GB, free: 172.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/9.892, allocations: 1.714 MB / 4.191 GB, free: 171 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/9.893, allocations: 1.234 MB / 4.192 GB, free: 169.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001896/9.895, allocations: 0.7142 MB / 4.193 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/9.895, allocations: 331.3 kB / 4.193 GB, free: 168.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/9.895, allocations: 0 / 4.193 GB, free: 168.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/9.967, allocations: 36.3 MB / 4.229 GB, free: 132.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/9.967, allocations: 204.2 kB / 4.229 GB, free: 132.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/13.53, allocations: 0 / 4.229 GB, free: 132.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat does not exist to compare? outputFormat=mat