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.373/2.373, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001075/0.001075, allocations: 180.8 kB / 492.3 MB, free: 0.6289 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.499/1.499, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008858/0.0008859, allocations: 88.86 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.352e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2838, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.308, allocations: 1.872 GB / 3.084 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/5.308, allocations: 88.78 kB / 3.084 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.535/11.84, allocations: 1.813 GB / 4.897 GB, free: 358.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/11.84, allocations: 2.938 kB / 4.897 GB, free: 358.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001662/11.84, allocations: 28.84 kB / 4.897 GB, free: 358.2 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002601/11.85, allocations: 1.151 MB / 4.898 GB, free: 357.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/11.85, allocations: 10.69 kB / 4.898 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/11.85, allocations: 93.72 kB / 4.898 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/11.85, allocations: 183.2 kB / 4.898 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/11.85, allocations: 1.099 MB / 4.899 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/11.85, allocations: 44.72 kB / 4.9 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/11.85, allocations: 59.94 kB / 4.9 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/11.85, allocations: 0.7465 MB / 4.9 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/11.85, allocations: 3.406 kB / 4.9 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/11.85, allocations: 20.56 kB / 4.9 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/11.85, allocations: 15.41 kB / 4.9 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/11.85, allocations: 474.2 kB / 4.901 GB, free: 356.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004101/11.86, allocations: 4.598 MB / 4.905 GB, free: 353.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/11.86, allocations: 379.1 kB / 4.906 GB, free: 353.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/11.86, allocations: 223.8 kB / 4.906 GB, free: 353.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/11.86, allocations: 191.9 kB / 4.906 GB, free: 353.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/11.86, allocations: 270.4 kB / 4.906 GB, free: 353.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/11.86, allocations: 0 / 4.906 GB, free: 353.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001347/11.86, allocations: 0.6599 MB / 4.907 GB, free: 353.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/11.86, allocations: 84.27 kB / 4.907 GB, free: 353 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/11.86, allocations: 0.9788 MB / 4.908 GB, free: 352.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/11.86, allocations: 36.14 kB / 4.908 GB, free: 352.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/11.86, allocations: 493.8 kB / 4.908 GB, free: 352.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/11.86, allocations: 109.9 kB / 4.909 GB, free: 352.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/11.86, allocations: 12.31 kB / 4.909 GB, free: 352.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/11.86, allocations: 328.3 kB / 4.909 GB, free: 352.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/11.86, allocations: 164.8 kB / 4.909 GB, free: 352.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/11.86, allocations: 495.3 kB / 4.91 GB, free: 352 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/11.86, allocations: 276.8 kB / 4.91 GB, free: 351.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/11.86, allocations: 0 / 4.91 GB, free: 351.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001303/11.86, allocations: 0.8569 MB / 4.911 GB, free: 351.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004351/11.86, allocations: 2.131 MB / 4.913 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/11.86, allocations: 6.062 kB / 4.913 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/11.86, allocations: 243.9 kB / 4.913 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/11.86, allocations: 69.75 kB / 4.913 GB, free: 349.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008093/11.87, allocations: 0.9988 MB / 4.914 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008828/11.87, allocations: 114.1 kB / 4.914 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/11.87, allocations: 33.06 kB / 4.914 GB, free: 348.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/11.87, allocations: 3.875 kB / 4.914 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/11.87, allocations: 0.676 MB / 4.915 GB, free: 348.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/11.87, allocations: 6.781 kB / 4.915 GB, free: 348.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/11.87, allocations: 210.2 kB / 4.915 GB, free: 348.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/11.87, allocations: 61.25 kB / 4.915 GB, free: 348.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/11.87, allocations: 3.068 MB / 4.918 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/11.87, allocations: 97.11 kB / 4.918 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/11.87, allocations: 27.05 kB / 4.918 GB, free: 347.1 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 () * 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.0001998/11.87, allocations: 142.7 kB / 4.918 GB, free: 347 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/11.87, allocations: 97.88 kB / 4.918 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/11.87, allocations: 0.6778 MB / 4.919 GB, free: 346.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/11.87, allocations: 0 / 4.919 GB, free: 346.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/11.87, allocations: 7.297 kB / 4.919 GB, free: 346.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/11.87, allocations: 0 / 4.919 GB, free: 346.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/11.88, allocations: 1.569 MB / 4.921 GB, free: 345.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/11.88, allocations: 0 / 4.921 GB, free: 345.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/11.88, allocations: 25.48 kB / 4.921 GB, free: 345.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/11.88, allocations: 221.4 kB / 4.921 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/11.88, allocations: 11.92 kB / 4.921 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006729/11.88, allocations: 0.97 MB / 4.922 GB, free: 345.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/11.88, allocations: 7.625 kB / 4.922 GB, free: 345.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/11.88, allocations: 0.8822 MB / 4.923 GB, free: 344.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/11.88, allocations: 223 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/11.88, allocations: 7.969 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/11.88, allocations: 58.16 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/11.88, allocations: 37.7 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/11.88, allocations: 15.69 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008996/11.88, allocations: 0.7715 MB / 4.924 GB, free: 344.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.01e-07/11.88, allocations: 0 / 4.924 GB, free: 344.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001715/11.88, allocations: 0.5134 MB / 4.924 GB, free: 344 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) * 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.002454/11.89, allocations: 2.68 MB / 4.927 GB, free: 342.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001572/11.89, allocations: 1.016 MB / 4.928 GB, free: 341.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/11.89, allocations: 3.625 kB / 4.928 GB, free: 341.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/11.89, allocations: 214.9 kB / 4.928 GB, free: 341.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/11.89, allocations: 453.6 kB / 4.929 GB, free: 341.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/11.89, allocations: 1.656 MB / 4.93 GB, free: 341.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/11.89, allocations: 1.209 MB / 4.931 GB, free: 340.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001772/11.89, allocations: 0.7425 MB / 4.932 GB, free: 340.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/11.89, allocations: 289.8 kB / 4.932 GB, free: 340.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/11.89, allocations: 0 / 4.932 GB, free: 340.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08116/11.98, allocations: 46.35 MB / 4.978 GB, free: 301.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/11.98, allocations: 232.5 kB / 4.978 GB, free: 301.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.442/15.42, allocations: 0 / 4.978 GB, free: 301.6 MB / 1.151 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