Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.332/2.332, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001304/0.001303, allocations: 184.1 kB / 492.3 MB, free: 0.6406 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.592/1.592, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0011/0.0011, allocations: 95.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.485e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3048, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.493/5.798, allocations: 1.869 GB / 3.082 GB, free: 361.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/5.798, allocations: 98.55 kB / 3.082 GB, free: 361.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.283/9.082, allocations: 0.9684 GB / 4.05 GB, free: 332.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.433e-06/9.082, allocations: 0 / 4.05 GB, free: 332.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.768e-05/9.082, allocations: 32.69 kB / 4.05 GB, free: 332.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002104/9.084, allocations: 1.145 MB / 4.051 GB, free: 331.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/9.084, allocations: 12.03 kB / 4.051 GB, free: 331.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/9.084, allocations: 106.1 kB / 4.051 GB, free: 331.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000831/9.085, allocations: 182.4 kB / 4.052 GB, free: 331.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/9.087, allocations: 1.072 MB / 4.053 GB, free: 330.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/9.087, allocations: 50.55 kB / 4.053 GB, free: 330.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/9.087, allocations: 58.88 kB / 4.053 GB, free: 330.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/9.088, allocations: 0.7389 MB / 4.053 GB, free: 329.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/9.088, allocations: 3.938 kB / 4.053 GB, free: 329.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/9.088, allocations: 26.92 kB / 4.053 GB, free: 329.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/9.088, allocations: 14.09 kB / 4.054 GB, free: 329.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/9.089, allocations: 474.6 kB / 4.054 GB, free: 328.8 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.003781/9.093, allocations: 4.595 MB / 4.058 GB, free: 323.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/9.093, allocations: 382.1 kB / 4.059 GB, free: 323.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/9.094, allocations: 225.6 kB / 4.059 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/9.094, allocations: 193.7 kB / 4.059 GB, free: 323 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/9.094, allocations: 269.7 kB / 4.059 GB, free: 322.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.375e-06/9.094, allocations: 0 / 4.059 GB, free: 322.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0009087/9.095, allocations: 461.1 kB / 4.06 GB, free: 322.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/9.095, allocations: 81.11 kB / 4.06 GB, free: 322.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/9.096, allocations: 0.9725 MB / 4.061 GB, free: 321.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/9.096, allocations: 37.7 kB / 4.061 GB, free: 321.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/9.097, allocations: 0.4918 MB / 4.061 GB, free: 320.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/9.097, allocations: 105.1 kB / 4.062 GB, free: 320.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/9.097, allocations: 12 kB / 4.062 GB, free: 320.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001076/9.097, allocations: 325.9 kB / 4.062 GB, free: 320.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/9.097, allocations: 164.8 kB / 4.062 GB, free: 320 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/9.098, allocations: 497.4 kB / 4.062 GB, free: 319.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/9.098, allocations: 272.2 kB / 4.063 GB, free: 319.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/9.098, allocations: 3.984 kB / 4.063 GB, free: 319.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000828/9.099, allocations: 0.6342 MB / 4.063 GB, free: 318.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004837/9.099, allocations: 2.136 MB / 4.065 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/9.099, allocations: 8.219 kB / 4.065 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/9.099, allocations: 8 kB / 4.065 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/9.101, allocations: 298.9 kB / 4.066 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/9.104, allocations: 6.087 MB / 4.072 GB, free: 309.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/9.105, allocations: 99.56 kB / 4.072 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/9.105, allocations: 31.98 kB / 4.072 GB, free: 309.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/9.105, allocations: 8 kB / 4.072 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006268/9.105, allocations: 0.4899 MB / 4.072 GB, free: 308.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/9.105, allocations: 8.094 kB / 4.072 GB, free: 308.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/9.105, allocations: 12 kB / 4.072 GB, free: 308.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/9.106, allocations: 139.8 kB / 4.072 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/9.106, allocations: 15.92 kB / 4.072 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/9.107, allocations: 95.52 kB / 4.073 GB, free: 308.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/9.107, allocations: 24 kB / 4.073 GB, free: 308.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/9.107, allocations: 148.8 kB / 4.073 GB, free: 308.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/9.107, allocations: 98.78 kB / 4.073 GB, free: 308.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/9.108, allocations: 459 kB / 4.073 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/9.108, allocations: 7.938 kB / 4.073 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/9.108, allocations: 0 / 4.073 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/9.108, allocations: 4 kB / 4.073 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/9.11, allocations: 1.348 MB / 4.075 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/9.11, allocations: 8.156 kB / 4.075 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/9.11, allocations: 151.8 kB / 4.075 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/9.11, allocations: 7.953 kB / 4.075 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/9.11, allocations: 8 kB / 4.075 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/9.112, allocations: 6.021 MB / 4.081 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/9.112, allocations: 0 / 4.081 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/9.113, allocations: 0.6667 MB / 4.081 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/9.113, allocations: 219.8 kB / 4.082 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/9.113, allocations: 11.98 kB / 4.082 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/9.114, allocations: 55.8 kB / 4.082 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/9.114, allocations: 35.84 kB / 4.082 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/9.114, allocations: 11.94 kB / 4.082 GB, free: 299 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008884/9.115, allocations: 0.7766 MB / 4.082 GB, free: 298.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.115, allocations: 0 / 4.082 GB, free: 298.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001522/9.117, allocations: 483.1 kB / 4.083 GB, free: 297.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/9.119, allocations: 2.481 MB / 4.085 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002325/9.121, allocations: 0.9453 MB / 4.086 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/9.121, allocations: 4.062 kB / 4.086 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006957/9.122, allocations: 252.3 kB / 4.086 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/9.124, allocations: 463.3 kB / 4.087 GB, free: 293.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/9.127, allocations: 1.661 MB / 4.088 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/9.128, allocations: 1.202 MB / 4.09 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001862/9.13, allocations: 0.7841 MB / 4.09 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/9.13, allocations: 295.3 kB / 4.091 GB, free: 289.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/9.13, allocations: 0 / 4.091 GB, free: 289.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06564/9.195, allocations: 43.84 MB / 4.134 GB, free: 246.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/9.196, allocations: 225.8 kB / 4.134 GB, free: 245.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.528/12.72, allocations: 5.938 kB / 4.134 GB, free: 245.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat