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.352/2.352, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001228/0.001228, allocations: 168 kB / 0.4901 GB, free: 2.234 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.914/1.914, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001197/0.001197, allocations: 92.27 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005867/0.0005867, allocations: 10.16 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3675, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.989/5.357, allocations: 1.873 GB / 3.102 GB, free: 89.63 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/5.357, allocations: 97.81 kB / 3.102 GB, free: 89.54 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.581/9.938, allocations: 1.09 GB / 4.192 GB, free: 356.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.709e-06/9.938, allocations: 0 / 4.192 GB, free: 356.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002603/9.938, allocations: 34.53 kB / 4.192 GB, free: 356.4 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.008499/9.947, allocations: 1.589 MB / 4.193 GB, free: 355.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.24e-05/9.947, allocations: 8.641 kB / 4.193 GB, free: 355.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007166/9.948, allocations: 96.48 kB / 4.193 GB, free: 355.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/9.949, allocations: 201.2 kB / 4.194 GB, free: 355.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005865/9.955, allocations: 1.466 MB / 4.195 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/9.955, allocations: 52 kB / 4.195 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/9.956, allocations: 66.88 kB / 4.195 GB, free: 354.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/9.958, allocations: 0.9595 MB / 4.196 GB, free: 353.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/9.958, allocations: 0 / 4.196 GB, free: 353.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/9.958, allocations: 30.59 kB / 4.196 GB, free: 353.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/9.958, allocations: 15.06 kB / 4.196 GB, free: 353.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/9.959, allocations: 0.7486 MB / 4.197 GB, free: 352.8 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.006435/9.966, allocations: 4.702 MB / 4.202 GB, free: 347.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/9.968, allocations: 4.013 MB / 4.205 GB, free: 343 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/9.968, allocations: 194.2 kB / 4.206 GB, free: 342.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/9.969, allocations: 338.7 kB / 4.206 GB, free: 342.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006342/9.969, allocations: 31.69 kB / 4.206 GB, free: 342.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.828e-06/9.969, allocations: 0 / 4.206 GB, free: 342.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003782/9.973, allocations: 1.439 MB / 4.207 GB, free: 340.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/9.973, allocations: 85.09 kB / 4.207 GB, free: 340.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/9.975, allocations: 1.046 MB / 4.208 GB, free: 339.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/9.975, allocations: 41.7 kB / 4.209 GB, free: 339.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/9.976, allocations: 0.5127 MB / 4.209 GB, free: 339.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/9.976, allocations: 130 kB / 4.209 GB, free: 339.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/9.976, allocations: 8 kB / 4.209 GB, free: 339 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/9.976, allocations: 329.9 kB / 4.209 GB, free: 338.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/9.976, allocations: 205 kB / 4.21 GB, free: 338.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/9.977, allocations: 0.5521 MB / 4.21 GB, free: 337.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/9.977, allocations: 335 kB / 4.211 GB, free: 337.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/9.977, allocations: 4 kB / 4.211 GB, free: 337.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001772/9.979, allocations: 0.996 MB / 4.211 GB, free: 336.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006461/9.98, allocations: 2.237 MB / 4.214 GB, free: 334.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/9.98, allocations: 4 kB / 4.214 GB, free: 334.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007238/9.981, allocations: 330.9 kB / 4.214 GB, free: 333.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/9.981, allocations: 83.81 kB / 4.214 GB, free: 333.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/9.982, allocations: 1.117 MB / 4.215 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/9.984, allocations: 103.7 kB / 4.215 GB, free: 332.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/9.984, allocations: 31.95 kB / 4.215 GB, free: 332.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/9.984, allocations: 4 kB / 4.215 GB, free: 332.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/9.985, allocations: 0.8294 MB / 4.216 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/9.985, allocations: 4 kB / 4.216 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/9.986, allocations: 245.1 kB / 4.216 GB, free: 331.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/9.986, allocations: 72 kB / 4.216 GB, free: 331.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/9.99, allocations: 3.182 MB / 4.22 GB, free: 327.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/9.991, allocations: 107.8 kB / 4.22 GB, free: 327.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/9.991, allocations: 24 kB / 4.22 GB, free: 327.8 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.0007618/9.992, allocations: 481.6 kB / 4.22 GB, free: 327.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/9.992, allocations: 106.7 kB / 4.22 GB, free: 327.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/9.994, allocations: 0.8159 MB / 4.221 GB, free: 326.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/9.994, allocations: 11.89 kB / 4.221 GB, free: 326.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/9.994, allocations: 0 / 4.221 GB, free: 326.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/9.994, allocations: 7.984 kB / 4.221 GB, free: 326.4 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.003214/9.997, allocations: 2.18 MB / 4.223 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/9.997, allocations: 8.031 kB / 4.223 GB, free: 324 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/9.997, allocations: 51.89 kB / 4.223 GB, free: 324 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/9.998, allocations: 242 kB / 4.223 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/9.998, allocations: 15.98 kB / 4.223 GB, free: 323.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/9.999, allocations: 0.9315 MB / 4.224 GB, free: 322.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/9.999, allocations: 7.984 kB / 4.224 GB, free: 322.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/10, allocations: 0.9934 MB / 4.225 GB, free: 321.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/10, allocations: 243.6 kB / 4.226 GB, free: 321.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/10, allocations: 15.95 kB / 4.226 GB, free: 321.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/10, allocations: 79.75 kB / 4.226 GB, free: 321.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/10, allocations: 31.89 kB / 4.226 GB, free: 321.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/10, allocations: 16 kB / 4.226 GB, free: 321.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001163/10, allocations: 0.8289 MB / 4.227 GB, free: 320.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10, allocations: 0 / 4.227 GB, free: 320.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002896/10.01, allocations: 0.605 MB / 4.227 GB, free: 319.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) * 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.003399/10.01, allocations: 3.007 MB / 4.23 GB, free: 316.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002799/10.01, allocations: 1.296 MB / 4.231 GB, free: 315.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/10.01, allocations: 0 / 4.231 GB, free: 315.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/10.01, allocations: 332.4 kB / 4.232 GB, free: 315.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/10.02, allocations: 0.6367 MB / 4.232 GB, free: 314.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/10.03, allocations: 10.6 MB / 4.243 GB, free: 303.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/10.03, allocations: 1.232 MB / 4.244 GB, free: 302.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001431/10.03, allocations: 384.6 kB / 4.244 GB, free: 301.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/10.03, allocations: 351.3 kB / 4.245 GB, free: 301.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.913e-06/10.03, allocations: 4 kB / 4.245 GB, free: 301.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08856/10.12, allocations: 48.2 MB / 4.292 GB, free: 253.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/10.12, allocations: 279.2 kB / 4.292 GB, free: 253.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.591/13.71, allocations: 3.938 kB / 4.292 GB, free: 253.4 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