Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.257/2.257, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001636/0.001635, allocations: 169 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0008898/0.0008899, allocations: 91.95 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.999e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3286, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.906/6.234, allocations: 1.873 GB / 3.091 GB, free: 435.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/6.235, allocations: 90.34 kB / 3.092 GB, free: 435.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.917/10.15, allocations: 1.089 GB / 4.18 GB, free: 246.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.295e-06/10.15, allocations: 4 kB / 4.18 GB, free: 246.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001843/10.15, allocations: 35.92 kB / 4.181 GB, free: 246.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00451/10.16, allocations: 1.273 MB / 4.182 GB, free: 245.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/10.16, allocations: 11.97 kB / 4.182 GB, free: 245.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003712/10.16, allocations: 98.52 kB / 4.182 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/10.16, allocations: 198.4 kB / 4.182 GB, free: 245.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/10.16, allocations: 1.445 MB / 4.183 GB, free: 243.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/10.16, allocations: 53.25 kB / 4.184 GB, free: 243.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/10.16, allocations: 60 kB / 4.184 GB, free: 243.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/10.16, allocations: 0.9255 MB / 4.184 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/10.16, allocations: 0 / 4.184 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/10.16, allocations: 24 kB / 4.185 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/10.16, allocations: 19.97 kB / 4.185 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/10.17, allocations: 0.7064 MB / 4.185 GB, free: 241.8 MB / 1.167 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.004806/10.17, allocations: 4.715 MB / 4.19 GB, free: 236.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/10.17, allocations: 3.969 MB / 4.194 GB, free: 231.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/10.17, allocations: 324.7 kB / 4.194 GB, free: 231.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/10.17, allocations: 202.2 kB / 4.194 GB, free: 231.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/10.17, allocations: 305.2 kB / 4.194 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004786/10.17, allocations: 39.67 kB / 4.195 GB, free: 231 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.025e-06/10.17, allocations: 0 / 4.195 GB, free: 231 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001418/10.17, allocations: 0.7701 MB / 4.195 GB, free: 230.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/10.17, allocations: 81.11 kB / 4.195 GB, free: 230.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/10.18, allocations: 1.028 MB / 4.196 GB, free: 229.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/10.18, allocations: 33.7 kB / 4.196 GB, free: 229 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/10.18, allocations: 0.5205 MB / 4.197 GB, free: 228.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/10.18, allocations: 126.2 kB / 4.197 GB, free: 228.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/10.18, allocations: 12 kB / 4.197 GB, free: 228.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/10.18, allocations: 330 kB / 4.197 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/10.18, allocations: 185 kB / 4.198 GB, free: 227.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/10.18, allocations: 0.521 MB / 4.198 GB, free: 227.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/10.18, allocations: 311 kB / 4.198 GB, free: 226.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/10.18, allocations: 0 / 4.198 GB, free: 226.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001318/10.18, allocations: 0.9707 MB / 4.199 GB, free: 225.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004577/10.18, allocations: 2.225 MB / 4.201 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/10.18, allocations: 12 kB / 4.201 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/10.18, allocations: 332.2 kB / 4.202 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/10.18, allocations: 87.77 kB / 4.202 GB, free: 223.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/10.18, allocations: 1.114 MB / 4.203 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/10.18, allocations: 103.7 kB / 4.203 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/10.18, allocations: 27.98 kB / 4.203 GB, free: 221.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/10.18, allocations: 4 kB / 4.203 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/10.18, allocations: 0.7715 MB / 4.204 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/10.18, allocations: 8.094 kB / 4.204 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/10.18, allocations: 246.1 kB / 4.204 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/10.18, allocations: 83.8 kB / 4.204 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/10.19, allocations: 3.095 MB / 4.207 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/10.19, allocations: 99.8 kB / 4.207 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/10.19, allocations: 24 kB / 4.207 GB, free: 217.3 MB / 1.167 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/10.19, allocations: 145 kB / 4.207 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/10.19, allocations: 106.7 kB / 4.208 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/10.19, allocations: 0.7968 MB / 4.208 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/10.19, allocations: 4 kB / 4.208 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/10.19, allocations: 0 / 4.208 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/10.19, allocations: 3.984 kB / 4.208 GB, free: 216.3 MB / 1.167 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.002689/10.19, allocations: 2.152 MB / 4.21 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/10.19, allocations: 0 / 4.21 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/10.19, allocations: 52.16 kB / 4.21 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/10.19, allocations: 231.3 kB / 4.211 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/10.19, allocations: 12.11 kB / 4.211 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007153/10.19, allocations: 0.9306 MB / 4.212 GB, free: 212.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/10.19, allocations: 8 kB / 4.212 GB, free: 212.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/10.2, allocations: 0.9668 MB / 4.213 GB, free: 211.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/10.2, allocations: 231.7 kB / 4.213 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/10.2, allocations: 12 kB / 4.213 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/10.2, allocations: 79.75 kB / 4.213 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/10.2, allocations: 39.84 kB / 4.213 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/10.2, allocations: 16 kB / 4.213 GB, free: 211.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009509/10.2, allocations: 0.8145 MB / 4.214 GB, free: 210.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/10.2, allocations: 0 / 4.214 GB, free: 210.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00198/10.2, allocations: 0.6089 MB / 4.214 GB, free: 209.9 MB / 1.167 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00261/10.2, allocations: 2.962 MB / 4.217 GB, free: 206.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00224/10.21, allocations: 1.26 MB / 4.218 GB, free: 205.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/10.21, allocations: 0 / 4.218 GB, free: 205.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/10.21, allocations: 312.5 kB / 4.219 GB, free: 205.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/10.21, allocations: 0.6434 MB / 4.219 GB, free: 204.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/10.21, allocations: 1.767 MB / 4.221 GB, free: 202.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/10.21, allocations: 1.238 MB / 4.222 GB, free: 201.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002001/10.21, allocations: 0.8006 MB / 4.223 GB, free: 200.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/10.21, allocations: 335.3 kB / 4.223 GB, free: 200.3 MB / 1.167 GB Notification: Performance of SimCode: time 5.21e-07/10.21, allocations: 0 / 4.223 GB, free: 200.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0842/10.3, allocations: 52.53 MB / 4.275 GB, free: 148.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/10.3, allocations: 246.4 kB / 4.275 GB, free: 147.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.971/14.27, allocations: 0 / 4.275 GB, free: 147.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat does not exist to compare? outputFormat=mat