Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001236/0.001236, allocations: 177.1 kB / 498.1 MB, free: 5.738 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0008861/0.000886, allocations: 96.33 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 13.72 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2826, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.657/3.94, allocations: 1.869 GB / 3.092 GB, free: 95.62 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/3.941, allocations: 92.52 kB / 3.092 GB, free: 95.53 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.781/9.721, allocations: 1.802 GB / 4.894 GB, free: 32.14 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.834e-06/9.721, allocations: 0 / 4.894 GB, free: 32.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001505/9.721, allocations: 31.98 kB / 4.894 GB, free: 32.11 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.003501/9.725, allocations: 1.425 MB / 4.896 GB, free: 30.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/9.725, allocations: 8.031 kB / 4.896 GB, free: 30.62 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/9.725, allocations: 102.5 kB / 4.896 GB, free: 30.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008683/9.726, allocations: 186.5 kB / 4.896 GB, free: 30.32 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/9.729, allocations: 1.081 MB / 4.897 GB, free: 29.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/9.729, allocations: 49 kB / 4.897 GB, free: 29.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/9.729, allocations: 63.94 kB / 4.897 GB, free: 29.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/9.73, allocations: 0.7615 MB / 4.898 GB, free: 28.24 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/9.73, allocations: 3.938 kB / 4.898 GB, free: 28.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/9.73, allocations: 28 kB / 4.898 GB, free: 28.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/9.73, allocations: 12 kB / 4.898 GB, free: 28.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/9.731, allocations: 0.511 MB / 4.898 GB, free: 27.68 MB / 1.151 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.003414/9.734, allocations: 4.603 MB / 4.903 GB, free: 22.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/9.735, allocations: 419.4 kB / 4.903 GB, free: 22.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/9.735, allocations: 202.7 kB / 4.903 GB, free: 22.04 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/9.735, allocations: 286.6 kB / 4.904 GB, free: 21.74 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/9.735, allocations: 0 / 4.904 GB, free: 21.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001195/9.737, allocations: 0.647 MB / 4.904 GB, free: 21.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/9.737, allocations: 89.11 kB / 4.904 GB, free: 20.99 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/9.738, allocations: 0.9718 MB / 4.905 GB, free: 20 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/9.738, allocations: 37.7 kB / 4.905 GB, free: 19.96 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/9.738, allocations: 0.4924 MB / 4.906 GB, free: 19.46 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/9.738, allocations: 110.5 kB / 4.906 GB, free: 19.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/9.738, allocations: 4 kB / 4.906 GB, free: 19.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/9.738, allocations: 326 kB / 4.906 GB, free: 19.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/9.739, allocations: 192.6 kB / 4.906 GB, free: 18.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/9.739, allocations: 0.5094 MB / 4.907 GB, free: 18.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/9.739, allocations: 296.4 kB / 4.907 GB, free: 17.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/9.739, allocations: 224 / 4.907 GB, free: 17.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009367/9.74, allocations: 0.6771 MB / 4.908 GB, free: 17.19 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/9.741, allocations: 2.14 MB / 4.91 GB, free: 14.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/9.741, allocations: 8 kB / 4.91 GB, free: 14.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/9.741, allocations: 8 kB / 4.91 GB, free: 14.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/9.741, allocations: 115.9 kB / 4.91 GB, free: 14.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/9.741, allocations: 11.94 kB / 4.91 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/9.742, allocations: 103.4 kB / 4.91 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/9.742, allocations: 27.98 kB / 4.91 GB, free: 14.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/9.742, allocations: 4 kB / 4.91 GB, free: 14.61 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007391/9.743, allocations: 0.5365 MB / 4.911 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/9.743, allocations: 12.09 kB / 4.911 GB, free: 14.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/9.743, allocations: 8 kB / 4.911 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/9.743, allocations: 103.8 kB / 4.911 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/9.743, allocations: 4 kB / 4.911 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/9.744, allocations: 103.5 kB / 4.911 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/9.744, allocations: 24 kB / 4.911 GB, free: 13.82 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004338/9.744, allocations: 485.2 kB / 4.911 GB, free: 13.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/9.745, allocations: 98.78 kB / 4.912 GB, free: 13.24 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/9.745, allocations: 0.495 MB / 4.912 GB, free: 12.74 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/9.745, allocations: 4 kB / 4.912 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/9.745, allocations: 0 / 4.912 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/9.745, allocations: 3.984 kB / 4.912 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/9.747, allocations: 1.388 MB / 4.913 GB, free: 11.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/9.747, allocations: 0 / 4.913 GB, free: 11.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/9.747, allocations: 68.11 kB / 4.913 GB, free: 11.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/9.748, allocations: 4 kB / 4.913 GB, free: 11.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/9.748, allocations: 11.95 kB / 4.914 GB, free: 11.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/9.748, allocations: 4 kB / 4.914 GB, free: 11.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/9.748, allocations: 4 kB / 4.914 GB, free: 11.18 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/9.748, allocations: 0.6993 MB / 4.914 GB, free: 10.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/9.749, allocations: 219.8 kB / 4.914 GB, free: 10.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/9.749, allocations: 11.94 kB / 4.914 GB, free: 10.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/9.749, allocations: 55.8 kB / 4.914 GB, free: 10.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/9.749, allocations: 39.89 kB / 4.915 GB, free: 10.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/9.749, allocations: 12 kB / 4.915 GB, free: 10.05 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008095/9.75, allocations: 0.7797 MB / 4.915 GB, free: 9.262 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/9.75, allocations: 0 / 4.915 GB, free: 9.262 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001362/9.752, allocations: 483.6 kB / 4.916 GB, free: 8.789 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002591/9.754, allocations: 2.533 MB / 4.918 GB, free: 6.199 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00131/9.756, allocations: 0.7986 MB / 4.919 GB, free: 5.379 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/9.756, allocations: 4 kB / 4.919 GB, free: 5.375 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/9.756, allocations: 207.7 kB / 4.919 GB, free: 5.172 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/9.758, allocations: 461 kB / 4.92 GB, free: 4.723 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5536/10.31, allocations: 9.548 MB / 4.929 GB, free: 364.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/10.31, allocations: 1.2 MB / 4.93 GB, free: 364.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001386/10.31, allocations: 421.2 kB / 4.931 GB, free: 364.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/10.31, allocations: 323.9 kB / 4.931 GB, free: 364.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.646e-06/10.31, allocations: 3.469 kB / 4.931 GB, free: 364.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/10.38, allocations: 39.25 MB / 4.969 GB, free: 363.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/10.38, allocations: 246.5 kB / 4.969 GB, free: 363.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/13.39, allocations: 0 / 4.969 GB, free: 363.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat does not exist to compare? outputFormat=mat