Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001364/0.001364, allocations: 177 kB / 498.1 MB, free: 5.762 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.491/1.491, allocations: 223.2 MB / 0.7948 GB, free: 18.96 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.0009098/0.0009098, allocations: 100.3 kB / 0.9346 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003597, allocations: 13.94 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2932, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.711/4.005, allocations: 1.872 GB / 3.095 GB, free: 109.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/4.005, allocations: 93.78 kB / 3.095 GB, free: 109 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.865/7.87, allocations: 1.09 GB / 4.185 GB, free: 360.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.744e-06/7.87, allocations: 0 / 4.185 GB, free: 360.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002051/7.871, allocations: 36.3 kB / 4.185 GB, free: 360.6 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.006529/7.877, allocations: 1.573 MB / 4.186 GB, free: 359.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/7.877, allocations: 11.06 kB / 4.186 GB, free: 359.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004545/7.878, allocations: 92.58 kB / 4.186 GB, free: 359.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/7.879, allocations: 203.4 kB / 4.187 GB, free: 359.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004842/7.884, allocations: 1.464 MB / 4.188 GB, free: 359.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/7.884, allocations: 46.75 kB / 4.188 GB, free: 359.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/7.884, allocations: 69.77 kB / 4.188 GB, free: 359.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/7.886, allocations: 0.9567 MB / 4.189 GB, free: 359.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/7.886, allocations: 3.375 kB / 4.189 GB, free: 359.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/7.886, allocations: 25.62 kB / 4.189 GB, free: 359.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/7.886, allocations: 14.69 kB / 4.189 GB, free: 359.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/7.887, allocations: 0.7555 MB / 4.19 GB, free: 359.2 MB / 1.167 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.005047/7.892, allocations: 4.704 MB / 4.194 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/7.895, allocations: 4.012 MB / 4.198 GB, free: 351.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/7.895, allocations: 200.1 kB / 4.198 GB, free: 351.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005669/7.895, allocations: 322.4 kB / 4.199 GB, free: 351.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006858/7.896, allocations: 36.53 kB / 4.199 GB, free: 351.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.938e-06/7.896, allocations: 0 / 4.199 GB, free: 351.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003824/7.9, allocations: 1.437 MB / 4.2 GB, free: 351.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/7.9, allocations: 88.58 kB / 4.2 GB, free: 351.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/7.902, allocations: 1.045 MB / 4.201 GB, free: 351.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/7.902, allocations: 35.2 kB / 4.201 GB, free: 351.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/7.902, allocations: 0.5181 MB / 4.202 GB, free: 350.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/7.902, allocations: 127.6 kB / 4.202 GB, free: 350.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/7.902, allocations: 6.75 kB / 4.202 GB, free: 350.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/7.903, allocations: 333.8 kB / 4.202 GB, free: 350.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/7.903, allocations: 212.7 kB / 4.203 GB, free: 350.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/7.903, allocations: 0.5473 MB / 4.203 GB, free: 350.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/7.904, allocations: 330.1 kB / 4.203 GB, free: 350.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/7.904, allocations: 0 / 4.203 GB, free: 350.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001663/7.906, allocations: 1.008 MB / 4.204 GB, free: 349.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006015/7.906, allocations: 2.232 MB / 4.207 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/7.906, allocations: 5.812 kB / 4.207 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/7.907, allocations: 326.6 kB / 4.207 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/7.907, allocations: 81.22 kB / 4.207 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/7.909, allocations: 1.119 MB / 4.208 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/7.91, allocations: 104.3 kB / 4.208 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/7.91, allocations: 32.67 kB / 4.208 GB, free: 347 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/7.91, allocations: 2.5 kB / 4.208 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/7.912, allocations: 0.8249 MB / 4.209 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/7.912, allocations: 6.375 kB / 4.209 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/7.912, allocations: 243.1 kB / 4.209 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/7.912, allocations: 82.3 kB / 4.209 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/7.916, allocations: 3.168 MB / 4.212 GB, free: 345.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/7.918, allocations: 104.8 kB / 4.212 GB, free: 345.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/7.918, allocations: 25.19 kB / 4.212 GB, free: 345.2 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 () * Number of clocked 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.0008268/7.919, allocations: 481.9 kB / 4.213 GB, free: 345 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/7.919, allocations: 111.7 kB / 4.213 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/7.921, allocations: 0.8342 MB / 4.214 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/7.921, allocations: 3.625 kB / 4.214 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/7.921, allocations: 3.953 kB / 4.214 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/7.921, allocations: 7.953 kB / 4.214 GB, free: 344.6 MB / 1.167 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.00365/7.924, allocations: 2.183 MB / 4.216 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/7.924, allocations: 3.906 kB / 4.216 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/7.925, allocations: 53.98 kB / 4.216 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/7.925, allocations: 239.9 kB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/7.925, allocations: 10.64 kB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008556/7.926, allocations: 0.933 MB / 4.217 GB, free: 342.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/7.926, allocations: 8.109 kB / 4.217 GB, free: 342.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/7.927, allocations: 0.9983 MB / 4.218 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/7.928, allocations: 244.9 kB / 4.218 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/7.928, allocations: 7.969 kB / 4.218 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009413/7.929, allocations: 84.7 kB / 4.219 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/7.929, allocations: 30.7 kB / 4.219 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/7.929, allocations: 18.09 kB / 4.219 GB, free: 341.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001289/7.931, allocations: 0.8279 MB / 4.219 GB, free: 341.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.2e-07/7.931, allocations: 0 / 4.219 GB, free: 341.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002553/7.933, allocations: 0.6082 MB / 4.22 GB, free: 341.2 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) * Number of clocked states: 0 () * 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.003419/7.937, allocations: 2.998 MB / 4.223 GB, free: 339.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00277/7.94, allocations: 1.295 MB / 4.224 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/7.94, allocations: 0 / 4.224 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/7.94, allocations: 329.9 kB / 4.224 GB, free: 338.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/7.943, allocations: 0.6532 MB / 4.225 GB, free: 338 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/7.957, allocations: 10.6 MB / 4.235 GB, free: 329.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/7.958, allocations: 1.232 MB / 4.237 GB, free: 328 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001368/7.959, allocations: 380.2 kB / 4.237 GB, free: 327.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/7.959, allocations: 351.3 kB / 4.237 GB, free: 327.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/7.959, allocations: 8 kB / 4.237 GB, free: 327.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/8.033, allocations: 48.18 MB / 4.284 GB, free: 279.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/8.033, allocations: 270.9 kB / 4.285 GB, free: 279.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/11.36, allocations: 5.5 kB / 4.285 GB, free: 279.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat does not exist to compare? outputFormat=mat