Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001184/0.001184, allocations: 180 kB / 0.4901 GB, free: 2.25 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.584/1.584, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001152/0.001152, allocations: 104.2 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003708, allocations: 11.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3009, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.133/5.434, allocations: 1.873 GB / 3.102 GB, free: 79.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/5.434, allocations: 95.45 kB / 3.102 GB, free: 79.45 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.062/12.5, allocations: 1.814 GB / 4.916 GB, free: 63.25 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.248e-06/12.5, allocations: 0 / 4.916 GB, free: 63.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001507/12.5, allocations: 27.98 kB / 4.916 GB, free: 63.22 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.005406/12.5, allocations: 1.441 MB / 4.917 GB, free: 61.72 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/12.5, allocations: 8.828 kB / 4.917 GB, free: 61.71 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/12.5, allocations: 98.52 kB / 4.917 GB, free: 61.61 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/12.5, allocations: 186.5 kB / 4.918 GB, free: 61.42 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/12.51, allocations: 1.112 MB / 4.919 GB, free: 60.25 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/12.51, allocations: 45 kB / 4.919 GB, free: 60.21 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/12.51, allocations: 63.98 kB / 4.919 GB, free: 60.15 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/12.51, allocations: 0.7691 MB / 4.92 GB, free: 59.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/12.51, allocations: 0 / 4.92 GB, free: 59.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/12.51, allocations: 24 kB / 4.92 GB, free: 59.27 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/12.51, allocations: 12 kB / 4.92 GB, free: 59.26 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/12.51, allocations: 0.515 MB / 4.92 GB, free: 58.75 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.006686/12.52, allocations: 4.591 MB / 4.925 GB, free: 53.77 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/12.52, allocations: 418.5 kB / 4.925 GB, free: 53.35 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/12.52, allocations: 194.2 kB / 4.925 GB, free: 53.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00074/12.52, allocations: 302.3 kB / 4.926 GB, free: 52.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 3.496e-06/12.52, allocations: 224 / 4.926 GB, free: 52.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.006158/12.53, allocations: 1.214 MB / 4.927 GB, free: 51.57 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/12.53, allocations: 92.98 kB / 4.927 GB, free: 51.46 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/12.53, allocations: 0.9837 MB / 4.928 GB, free: 50.46 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/12.53, allocations: 45.69 kB / 4.928 GB, free: 50.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/12.53, allocations: 489.4 kB / 4.928 GB, free: 49.92 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/12.53, allocations: 106.5 kB / 4.928 GB, free: 49.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/12.53, allocations: 4 kB / 4.928 GB, free: 49.81 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/12.53, allocations: 330 kB / 4.929 GB, free: 49.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/12.53, allocations: 184.7 kB / 4.929 GB, free: 49.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/12.53, allocations: 0.5093 MB / 4.929 GB, free: 48.65 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/12.53, allocations: 287.3 kB / 4.93 GB, free: 48.37 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/12.53, allocations: 0 / 4.93 GB, free: 48.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002772/12.54, allocations: 0.909 MB / 4.931 GB, free: 47.44 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005816/12.54, allocations: 2.132 MB / 4.933 GB, free: 45.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/12.54, allocations: 7.984 kB / 4.933 GB, free: 45.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/12.54, allocations: 237.3 kB / 4.933 GB, free: 44.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/12.54, allocations: 63.91 kB / 4.933 GB, free: 44.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/12.54, allocations: 1.005 MB / 4.934 GB, free: 43.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/12.54, allocations: 103.5 kB / 4.934 GB, free: 43.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/12.54, allocations: 31.97 kB / 4.934 GB, free: 43.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/12.54, allocations: 4 kB / 4.934 GB, free: 43.67 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002486/12.54, allocations: 0.7279 MB / 4.935 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/12.54, allocations: 7.953 kB / 4.935 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009782/12.55, allocations: 218.3 kB / 4.935 GB, free: 42.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/12.55, allocations: 63.91 kB / 4.935 GB, free: 42.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/12.55, allocations: 3.153 MB / 4.938 GB, free: 39.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/12.55, allocations: 99.53 kB / 4.938 GB, free: 39.24 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/12.55, allocations: 23.98 kB / 4.938 GB, free: 39.22 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.0009782/12.55, allocations: 463.4 kB / 4.939 GB, free: 38.76 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/12.55, allocations: 106.7 kB / 4.939 GB, free: 38.65 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/12.56, allocations: 0.7138 MB / 4.939 GB, free: 37.93 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/12.56, allocations: 4 kB / 4.939 GB, free: 37.92 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/12.56, allocations: 0 / 4.939 GB, free: 37.92 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/12.56, allocations: 4 kB / 4.939 GB, free: 37.92 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/12.56, allocations: 1.604 MB / 4.941 GB, free: 36.23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/12.56, allocations: 4 kB / 4.941 GB, free: 36.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/12.56, allocations: 19.98 kB / 4.941 GB, free: 36.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/12.56, allocations: 233.8 kB / 4.941 GB, free: 35.98 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/12.56, allocations: 16.2 kB / 4.941 GB, free: 35.96 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009858/12.56, allocations: 0.9719 MB / 4.942 GB, free: 34.97 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/12.56, allocations: 3.938 kB / 4.942 GB, free: 34.96 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/12.56, allocations: 0.9141 MB / 4.943 GB, free: 33.97 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/12.56, allocations: 220 kB / 4.943 GB, free: 33.74 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/12.56, allocations: 8 kB / 4.943 GB, free: 33.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/12.57, allocations: 63.77 kB / 4.943 GB, free: 33.67 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/12.57, allocations: 27.91 kB / 4.943 GB, free: 33.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/12.57, allocations: 27.92 kB / 4.943 GB, free: 33.61 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001713/12.57, allocations: 0.7838 MB / 4.944 GB, free: 32.82 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/12.57, allocations: 0 / 4.944 GB, free: 32.82 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003142/12.57, allocations: 0.5074 MB / 4.945 GB, free: 32.31 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.004052/12.57, allocations: 2.714 MB / 4.947 GB, free: 29.54 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003005/12.58, allocations: 1.061 MB / 4.948 GB, free: 28.45 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/12.58, allocations: 0 / 4.948 GB, free: 28.45 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007339/12.58, allocations: 243 kB / 4.949 GB, free: 28.21 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/12.58, allocations: 459.6 kB / 4.949 GB, free: 27.76 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/12.6, allocations: 9.81 MB / 4.959 GB, free: 17.62 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/12.6, allocations: 1.204 MB / 4.96 GB, free: 16.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002109/12.6, allocations: 323.8 kB / 4.96 GB, free: 16.07 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/12.61, allocations: 311.3 kB / 4.96 GB, free: 15.76 MB / 1.167 GB Notification: Performance of SimCode: time 2.104e-06/12.61, allocations: 0 / 4.96 GB, free: 15.76 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7026/13.31, allocations: 42.5 MB / 5.002 GB, free: 366.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/13.31, allocations: 279.4 kB / 5.002 GB, free: 365.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/16.63, allocations: 0 / 5.002 GB, free: 365.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat does not exist to compare? outputFormat=mat