Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.359/2.359, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001055/0.001055, allocations: 182.7 kB / 498.1 MB, free: 5.719 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.548/1.548, allocations: 223.1 MB / 0.7948 GB, free: 17.98 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.0009195/0.0009195, allocations: 108.2 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.000357, allocations: 13.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2971, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.11/4.407, allocations: 1.872 GB / 3.095 GB, free: 143.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/4.407, allocations: 96.59 kB / 3.095 GB, free: 143 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.94/10.35, allocations: 1.814 GB / 4.909 GB, free: 127.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.894e-06/10.35, allocations: 3.938 kB / 4.909 GB, free: 127.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001627/10.35, allocations: 27.98 kB / 4.909 GB, free: 127.3 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003876/10.35, allocations: 1.445 MB / 4.91 GB, free: 125.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/10.35, allocations: 8.031 kB / 4.91 GB, free: 125.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002786/10.35, allocations: 94.52 kB / 4.91 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/10.35, allocations: 186.5 kB / 4.911 GB, free: 125.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/10.36, allocations: 1.112 MB / 4.912 GB, free: 124.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/10.36, allocations: 41 kB / 4.912 GB, free: 124.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/10.36, allocations: 63.95 kB / 4.912 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/10.36, allocations: 0.7692 MB / 4.912 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/10.36, allocations: 7.938 kB / 4.912 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/10.36, allocations: 20 kB / 4.913 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/10.36, allocations: 12 kB / 4.913 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/10.36, allocations: 0.515 MB / 4.913 GB, free: 122.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.003238/10.36, allocations: 4.587 MB / 4.918 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/10.36, allocations: 427.5 kB / 4.918 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/10.36, allocations: 194.2 kB / 4.918 GB, free: 117.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/10.36, allocations: 290.7 kB / 4.918 GB, free: 116.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/10.36, allocations: 0 / 4.918 GB, free: 116.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.002796/10.36, allocations: 1.218 MB / 4.92 GB, free: 115.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/10.36, allocations: 85.11 kB / 4.92 GB, free: 115.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/10.37, allocations: 0.9837 MB / 4.921 GB, free: 114.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/10.37, allocations: 37.7 kB / 4.921 GB, free: 114.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/10.37, allocations: 0.4963 MB / 4.921 GB, free: 114 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/10.37, allocations: 106.5 kB / 4.921 GB, free: 113.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/10.37, allocations: 12 kB / 4.921 GB, free: 113.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/10.37, allocations: 322 kB / 4.922 GB, free: 113.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/10.37, allocations: 180.7 kB / 4.922 GB, free: 113.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/10.37, allocations: 0.5163 MB / 4.922 GB, free: 112.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/10.37, allocations: 292.2 kB / 4.923 GB, free: 112.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/10.37, allocations: 0 / 4.923 GB, free: 112.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001195/10.37, allocations: 0.8999 MB / 4.923 GB, free: 111.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003694/10.37, allocations: 2.132 MB / 4.925 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/10.37, allocations: 7.984 kB / 4.925 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/10.37, allocations: 236.5 kB / 4.926 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/10.37, allocations: 63.91 kB / 4.926 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007377/10.37, allocations: 1.007 MB / 4.927 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/10.37, allocations: 99.53 kB / 4.927 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/10.37, allocations: 35.98 kB / 4.927 GB, free: 107.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/10.37, allocations: 4.625 kB / 4.927 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/10.37, allocations: 0.7239 MB / 4.928 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/10.37, allocations: 4 kB / 4.928 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/10.37, allocations: 217.2 kB / 4.928 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/10.37, allocations: 63.84 kB / 4.928 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/10.38, allocations: 3.154 MB / 4.931 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/10.38, allocations: 107.5 kB / 4.931 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/10.38, allocations: 20 kB / 4.931 GB, free: 103.3 MB / 1.167 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 (34): * Single equations (assignments): 32 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004779/10.38, allocations: 468.7 kB / 4.932 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/10.38, allocations: 102.8 kB / 4.932 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/10.38, allocations: 0.7179 MB / 4.932 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/10.38, allocations: 4 kB / 4.932 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/10.38, allocations: 3.984 kB / 4.932 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/10.38, allocations: 0 / 4.932 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/10.38, allocations: 1.605 MB / 4.934 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/10.38, allocations: 4 kB / 4.934 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/10.38, allocations: 19.98 kB / 4.934 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/10.38, allocations: 229.7 kB / 4.934 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/10.38, allocations: 8 kB / 4.934 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006045/10.38, allocations: 0.9758 MB / 4.935 GB, free: 99.04 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/10.38, allocations: 0 / 4.935 GB, free: 99.04 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/10.38, allocations: 0.9314 MB / 4.936 GB, free: 98.03 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/10.38, allocations: 219.8 kB / 4.936 GB, free: 97.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/10.38, allocations: 19.95 kB / 4.936 GB, free: 97.78 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/10.38, allocations: 59.78 kB / 4.936 GB, free: 97.72 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/10.38, allocations: 23.97 kB / 4.936 GB, free: 97.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/10.38, allocations: 15.98 kB / 4.936 GB, free: 97.68 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007703/10.38, allocations: 0.7838 MB / 4.937 GB, free: 96.89 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/10.38, allocations: 0 / 4.937 GB, free: 96.89 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001397/10.39, allocations: 0.5075 MB / 4.938 GB, free: 96.38 MB / 1.167 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 (12): * Single equations (assignments): 9 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002266/10.39, allocations: 2.72 MB / 4.94 GB, free: 93.59 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001602/10.39, allocations: 1.049 MB / 4.941 GB, free: 92.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/10.39, allocations: 0 / 4.941 GB, free: 92.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004267/10.39, allocations: 236.5 kB / 4.941 GB, free: 92.27 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/10.39, allocations: 458.3 kB / 4.942 GB, free: 91.83 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009202/10.4, allocations: 9.807 MB / 4.951 GB, free: 81.69 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/10.4, allocations: 1.204 MB / 4.953 GB, free: 80.46 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009787/10.4, allocations: 319.8 kB / 4.953 GB, free: 80.14 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/10.4, allocations: 311.3 kB / 4.953 GB, free: 79.84 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/10.4, allocations: 4 kB / 4.953 GB, free: 79.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/10.46, allocations: 42.5 MB / 4.995 GB, free: 37.76 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/10.46, allocations: 276.4 kB / 4.995 GB, free: 37.39 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/13.7, allocations: 7.75 kB / 4.995 GB, free: 37.39 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat does not exist to compare? outputFormat=mat