Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.215/2.215, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001222/0.001222, allocations: 187.9 kB / 0.4901 GB, free: 2.227 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.505/1.505, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001227/0.001227, allocations: 100.2 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 7.125 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.578/4.937, allocations: 1.873 GB / 3.102 GB, free: 80.02 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003992/4.937, allocations: 98 kB / 3.102 GB, free: 79.96 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.203/12.14, allocations: 1.816 GB / 4.918 GB, free: 61.94 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.356e-06/12.14, allocations: 0 / 4.918 GB, free: 61.94 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002404/12.14, allocations: 31.98 kB / 4.918 GB, free: 61.91 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.006419/12.15, allocations: 1.534 MB / 4.919 GB, free: 60.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/12.15, allocations: 15.97 kB / 4.919 GB, free: 60.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004305/12.15, allocations: 94.52 kB / 4.919 GB, free: 60.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/12.15, allocations: 182.5 kB / 4.92 GB, free: 60.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/12.15, allocations: 1.424 MB / 4.921 GB, free: 58.54 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/12.15, allocations: 41 kB / 4.921 GB, free: 58.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/12.15, allocations: 60 kB / 4.921 GB, free: 58.44 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/12.15, allocations: 0.7926 MB / 4.922 GB, free: 57.57 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/12.15, allocations: 3.938 kB / 4.922 GB, free: 57.56 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/12.15, allocations: 24 kB / 4.922 GB, free: 57.54 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/12.15, allocations: 12 kB / 4.922 GB, free: 57.53 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000879/12.16, allocations: 0.5384 MB / 4.922 GB, free: 56.99 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.004318/12.16, allocations: 4.217 MB / 4.927 GB, free: 52.51 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/12.16, allocations: 422.2 kB / 4.927 GB, free: 52.09 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/12.16, allocations: 198.2 kB / 4.927 GB, free: 51.86 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/12.16, allocations: 311.1 kB / 4.927 GB, free: 51.53 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004995/12.16, allocations: 39.62 kB / 4.927 GB, free: 51.49 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/12.16, allocations: 0 / 4.927 GB, free: 51.49 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001407/12.16, allocations: 0.6736 MB / 4.928 GB, free: 50.81 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/12.16, allocations: 85.11 kB / 4.928 GB, free: 50.71 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/12.16, allocations: 1.013 MB / 4.929 GB, free: 49.68 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/12.16, allocations: 45.7 kB / 4.929 GB, free: 49.63 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/12.17, allocations: 484.8 kB / 4.93 GB, free: 49.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/12.17, allocations: 118.4 kB / 4.93 GB, free: 49.04 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/12.17, allocations: 8 kB / 4.93 GB, free: 49.03 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/12.17, allocations: 326 kB / 4.93 GB, free: 48.71 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/12.17, allocations: 197 kB / 4.93 GB, free: 48.51 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/12.17, allocations: 0.5263 MB / 4.931 GB, free: 47.84 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/12.17, allocations: 308.7 kB / 4.931 GB, free: 47.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/12.17, allocations: 7.953 kB / 4.931 GB, free: 47.53 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001094/12.17, allocations: 0.7139 MB / 4.932 GB, free: 46.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004827/12.17, allocations: 2.128 MB / 4.934 GB, free: 44.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/12.17, allocations: 15.92 kB / 4.934 GB, free: 44.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/12.17, allocations: 8 kB / 4.934 GB, free: 44.49 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/12.17, allocations: 115.8 kB / 4.934 GB, free: 44.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/12.17, allocations: 11.94 kB / 4.934 GB, free: 44.36 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/12.17, allocations: 87.75 kB / 4.934 GB, free: 44.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/12.17, allocations: 28 kB / 4.934 GB, free: 44.25 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/12.17, allocations: 5.406 kB / 4.934 GB, free: 44.25 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008257/12.17, allocations: 0.5729 MB / 4.935 GB, free: 43.67 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/12.17, allocations: 4 kB / 4.935 GB, free: 43.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/12.17, allocations: 11.94 kB / 4.935 GB, free: 43.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/12.17, allocations: 120.4 kB / 4.935 GB, free: 43.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/12.17, allocations: 8 kB / 4.935 GB, free: 43.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/12.17, allocations: 91.75 kB / 4.935 GB, free: 43.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/12.17, allocations: 27.94 kB / 4.935 GB, free: 43.41 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.0006349/12.17, allocations: 477.3 kB / 4.935 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/12.17, allocations: 106.6 kB / 4.936 GB, free: 42.83 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009545/12.17, allocations: 0.531 MB / 4.936 GB, free: 42.29 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/12.17, allocations: 4 kB / 4.936 GB, free: 42.28 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/12.17, allocations: 0 / 4.936 GB, free: 42.28 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/12.17, allocations: 7.984 kB / 4.936 GB, free: 42.27 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/12.18, allocations: 1.459 MB / 4.937 GB, free: 40.74 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/12.18, allocations: 0 / 4.937 GB, free: 40.74 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/12.18, allocations: 75.88 kB / 4.938 GB, free: 40.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/12.18, allocations: 4 kB / 4.938 GB, free: 40.66 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/12.18, allocations: 8 kB / 4.938 GB, free: 40.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/12.18, allocations: 8.219 kB / 4.938 GB, free: 40.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/12.18, allocations: 11.92 kB / 4.938 GB, free: 40.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/12.18, allocations: 0.7285 MB / 4.938 GB, free: 39.83 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/12.18, allocations: 227.7 kB / 4.939 GB, free: 39.59 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/12.18, allocations: 11.98 kB / 4.939 GB, free: 39.58 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/12.18, allocations: 75.72 kB / 4.939 GB, free: 39.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/12.18, allocations: 35.83 kB / 4.939 GB, free: 39.47 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/12.18, allocations: 20 kB / 4.939 GB, free: 39.45 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001029/12.18, allocations: 0.8081 MB / 4.939 GB, free: 38.63 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/12.18, allocations: 0 / 4.939 GB, free: 38.63 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001944/12.18, allocations: 0.4918 MB / 4.94 GB, free: 38.14 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.002893/12.19, allocations: 2.642 MB / 4.943 GB, free: 35.44 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001434/12.19, allocations: 0.8546 MB / 4.943 GB, free: 34.57 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/12.19, allocations: 0 / 4.943 GB, free: 34.57 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/12.19, allocations: 228.5 kB / 4.944 GB, free: 34.34 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/12.19, allocations: 0.6352 MB / 4.944 GB, free: 33.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/12.2, allocations: 9.759 MB / 4.954 GB, free: 23.61 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/12.2, allocations: 1.205 MB / 4.955 GB, free: 22.37 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001398/12.21, allocations: 404.3 kB / 4.955 GB, free: 21.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/12.21, allocations: 335.3 kB / 4.956 GB, free: 21.64 MB / 1.167 GB Notification: Performance of SimCode: time 2.695e-06/12.21, allocations: 7.938 kB / 4.956 GB, free: 21.64 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8018/13.01, allocations: 43 MB / 4.998 GB, free: 370.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/13.01, allocations: 244.1 kB / 4.998 GB, free: 369.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/16.53, allocations: 2.109 kB / 4.998 GB, free: 369.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat