Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.203/2.203, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.00114/0.00114, allocations: 173.1 kB / 498.1 MB, free: 5.812 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.429/1.429, allocations: 223.2 MB / 0.7948 GB, free: 18.05 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.0009291/0.000929, allocations: 97.42 kB / 0.9346 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 10.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2636, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.989/4.253, allocations: 1.872 GB / 3.095 GB, free: 115.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/4.253, allocations: 96 kB / 3.095 GB, free: 115.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.129/10.38, allocations: 1.816 GB / 4.911 GB, free: 108.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.994e-06/10.38, allocations: 0 / 4.911 GB, free: 108.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002127/10.38, allocations: 27.98 kB / 4.911 GB, free: 108.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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005674/10.39, allocations: 1.531 MB / 4.912 GB, free: 106.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/10.39, allocations: 12.03 kB / 4.912 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003841/10.39, allocations: 90.52 kB / 4.912 GB, free: 106.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/10.39, allocations: 186.5 kB / 4.912 GB, free: 106.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/10.39, allocations: 1.424 MB / 4.914 GB, free: 105.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/10.39, allocations: 49 kB / 4.914 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/10.39, allocations: 56 kB / 4.914 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/10.4, allocations: 0.7888 MB / 4.915 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/10.4, allocations: 3.938 kB / 4.915 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/10.4, allocations: 24 kB / 4.915 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/10.4, allocations: 19.94 kB / 4.915 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/10.4, allocations: 0.5345 MB / 4.915 GB, free: 103.5 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.004408/10.4, allocations: 4.215 MB / 4.919 GB, free: 99.03 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/10.4, allocations: 412.7 kB / 4.92 GB, free: 98.62 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/10.4, allocations: 198.2 kB / 4.92 GB, free: 98.39 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/10.4, allocations: 315.3 kB / 4.92 GB, free: 98.06 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000493/10.4, allocations: 35.69 kB / 4.92 GB, free: 98.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/10.4, allocations: 4 kB / 4.92 GB, free: 98.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001433/10.4, allocations: 0.6806 MB / 4.921 GB, free: 97.33 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/10.4, allocations: 93.03 kB / 4.921 GB, free: 97.22 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/10.41, allocations: 1.009 MB / 4.922 GB, free: 96.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/10.41, allocations: 45.69 kB / 4.922 GB, free: 96.15 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/10.41, allocations: 484.8 kB / 4.923 GB, free: 95.67 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/10.41, allocations: 118.4 kB / 4.923 GB, free: 95.55 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/10.41, allocations: 12 kB / 4.923 GB, free: 95.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/10.41, allocations: 326 kB / 4.923 GB, free: 95.21 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/10.41, allocations: 197 kB / 4.923 GB, free: 95.02 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/10.41, allocations: 0.5217 MB / 4.924 GB, free: 94.35 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/10.41, allocations: 307.5 kB / 4.924 GB, free: 94.05 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/10.41, allocations: 0 / 4.924 GB, free: 94.05 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001123/10.41, allocations: 0.7134 MB / 4.925 GB, free: 93.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004649/10.41, allocations: 2.129 MB / 4.927 GB, free: 91.03 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/10.41, allocations: 8 kB / 4.927 GB, free: 91.02 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/10.41, allocations: 8 kB / 4.927 GB, free: 91.02 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/10.41, allocations: 119.8 kB / 4.927 GB, free: 90.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/10.41, allocations: 11.94 kB / 4.927 GB, free: 90.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/10.41, allocations: 91.75 kB / 4.927 GB, free: 90.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/10.41, allocations: 31.98 kB / 4.927 GB, free: 90.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/10.41, allocations: 4 kB / 4.927 GB, free: 90.76 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008402/10.41, allocations: 0.5618 MB / 4.928 GB, free: 90.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/10.41, allocations: 8.094 kB / 4.928 GB, free: 90.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/10.41, allocations: 15.94 kB / 4.928 GB, free: 90.17 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/10.41, allocations: 115.7 kB / 4.928 GB, free: 90.06 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/10.41, allocations: 11.94 kB / 4.928 GB, free: 90.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/10.41, allocations: 87.75 kB / 4.928 GB, free: 89.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/10.41, allocations: 28.38 kB / 4.928 GB, free: 89.93 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 (55): * Single equations (assignments): 54 * 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.0006197/10.41, allocations: 476.6 kB / 4.928 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/10.41, allocations: 106.7 kB / 4.928 GB, free: 89.35 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/10.42, allocations: 0.5233 MB / 4.929 GB, free: 88.82 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/10.42, allocations: 11.95 kB / 4.929 GB, free: 88.81 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/10.42, allocations: 4 kB / 4.929 GB, free: 88.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/10.42, allocations: 3.938 kB / 4.929 GB, free: 88.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/10.42, allocations: 1.471 MB / 4.93 GB, free: 87.25 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/10.42, allocations: 0 / 4.93 GB, free: 87.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/10.42, allocations: 80.05 kB / 4.93 GB, free: 87.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/10.42, allocations: 4 kB / 4.93 GB, free: 87.17 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/10.42, allocations: 11.98 kB / 4.93 GB, free: 87.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/10.42, allocations: 4 kB / 4.93 GB, free: 87.16 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/10.42, allocations: 4 kB / 4.93 GB, free: 87.15 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/10.42, allocations: 0.7312 MB / 4.931 GB, free: 86.35 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/10.42, allocations: 227.7 kB / 4.931 GB, free: 86.11 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/10.42, allocations: 11.94 kB / 4.931 GB, free: 86.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007345/10.42, allocations: 75.77 kB / 4.931 GB, free: 86.02 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/10.42, allocations: 39.84 kB / 4.932 GB, free: 85.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/10.42, allocations: 12 kB / 4.932 GB, free: 85.97 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008517/10.42, allocations: 0.8042 MB / 4.932 GB, free: 85.16 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/10.42, allocations: 4 kB / 4.932 GB, free: 85.15 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001541/10.42, allocations: 495.7 kB / 4.933 GB, free: 84.67 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 (33): * Single equations (assignments): 31 * 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.002441/10.43, allocations: 2.641 MB / 4.935 GB, free: 81.97 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001278/10.43, allocations: 0.8546 MB / 4.936 GB, free: 81.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/10.43, allocations: 7.938 kB / 4.936 GB, free: 81.09 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/10.43, allocations: 228.3 kB / 4.936 GB, free: 80.87 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/10.43, allocations: 0.6315 MB / 4.937 GB, free: 80.24 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/10.44, allocations: 9.778 MB / 4.947 GB, free: 70.11 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/10.44, allocations: 1.197 MB / 4.948 GB, free: 68.89 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001348/10.44, allocations: 408.3 kB / 4.948 GB, free: 68.48 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/10.44, allocations: 339.3 kB / 4.948 GB, free: 68.15 MB / 1.167 GB Notification: Performance of SimCode: time 1.352e-06/10.44, allocations: 0 / 4.948 GB, free: 68.15 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/10.51, allocations: 43.01 MB / 4.99 GB, free: 25.54 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/10.51, allocations: 236.9 kB / 4.991 GB, free: 25.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/13.82, allocations: 0 / 4.991 GB, free: 25.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat