Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.506/2.506, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001039/0.00104, allocations: 184.1 kB / 487.4 MB, free: 5.023 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.64/1.64, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 103 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.065e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 142.3 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/4.896, allocations: 1.869 GB / 3.075 GB, free: 12.34 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/4.897, allocations: 95.22 kB / 3.075 GB, free: 12.25 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.628/11.52, allocations: 1.782 GB / 4.857 GB, free: 375.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.342e-06/11.52, allocations: 2.688 kB / 4.857 GB, free: 375.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001213/11.52, allocations: 33.83 kB / 4.857 GB, free: 375.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00228/11.53, allocations: 1.142 MB / 4.858 GB, free: 375.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/11.53, allocations: 9.344 kB / 4.858 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008731/11.53, allocations: 184.5 kB / 4.858 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/11.53, allocations: 1.08 MB / 4.859 GB, free: 375.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/11.53, allocations: 16.97 kB / 4.859 GB, free: 375.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/11.53, allocations: 37.31 kB / 4.859 GB, free: 375.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009339/11.53, allocations: 470 kB / 4.86 GB, free: 375.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/11.53, allocations: 0.6776 MB / 4.86 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/11.53, allocations: 7.234 kB / 4.86 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/11.53, allocations: 4.781 kB / 4.86 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/11.53, allocations: 17.16 kB / 4.86 GB, free: 374.8 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.004224/11.54, allocations: 4.461 MB / 4.865 GB, free: 371.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/11.54, allocations: 439.4 kB / 4.865 GB, free: 371.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/11.54, allocations: 240.1 kB / 4.865 GB, free: 371.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/11.54, allocations: 196 kB / 4.866 GB, free: 371.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/11.54, allocations: 269.3 kB / 4.866 GB, free: 371.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.906e-06/11.54, allocations: 0 / 4.866 GB, free: 371.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001116/11.54, allocations: 497.8 kB / 4.866 GB, free: 371.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/11.54, allocations: 85.23 kB / 4.866 GB, free: 371 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/11.54, allocations: 0.8502 MB / 4.867 GB, free: 370.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/11.54, allocations: 28.27 kB / 4.867 GB, free: 370.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/11.54, allocations: 490 kB / 4.868 GB, free: 370.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/11.54, allocations: 115.1 kB / 4.868 GB, free: 370.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/11.54, allocations: 4.531 kB / 4.868 GB, free: 370.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/11.54, allocations: 325.4 kB / 4.868 GB, free: 370.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/11.54, allocations: 178.9 kB / 4.868 GB, free: 370.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/11.54, allocations: 0.4896 MB / 4.869 GB, free: 370 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/11.54, allocations: 260.9 kB / 4.869 GB, free: 370 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/11.54, allocations: 2.188 kB / 4.869 GB, free: 370 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009478/11.54, allocations: 0.6092 MB / 4.87 GB, free: 369.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004719/11.54, allocations: 2.131 MB / 4.872 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/11.54, allocations: 8.906 kB / 4.872 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/11.54, allocations: 7.719 kB / 4.872 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/11.55, allocations: 112.8 kB / 4.872 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/11.55, allocations: 11.09 kB / 4.872 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/11.55, allocations: 88.2 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/11.55, allocations: 29.38 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/11.55, allocations: 3.125 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006561/11.55, allocations: 416.9 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/11.55, allocations: 5.125 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/11.55, allocations: 9.25 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/11.55, allocations: 109.5 kB / 4.872 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/11.55, allocations: 12.34 kB / 4.873 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/11.55, allocations: 79.05 kB / 4.873 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/11.55, allocations: 27.94 kB / 4.873 GB, free: 367.6 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 (53): * Single equations (assignments): 52 * 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.0001489/11.55, allocations: 125.7 kB / 4.873 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006396/11.55, allocations: 411.5 kB / 4.873 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/11.55, allocations: 94.31 kB / 4.873 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007775/11.55, allocations: 438.4 kB / 4.874 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/11.55, allocations: 3.031 kB / 4.874 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/11.55, allocations: 1.219 kB / 4.874 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/11.55, allocations: 6.797 kB / 4.874 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/11.55, allocations: 1.258 MB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/11.55, allocations: 5.375 kB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/11.55, allocations: 70.47 kB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/11.55, allocations: 6.984 kB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/11.55, allocations: 3.969 kB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/11.55, allocations: 3.5 kB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/11.55, allocations: 5.531 kB / 4.875 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/11.55, allocations: 0.6261 MB / 4.876 GB, free: 366.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/11.55, allocations: 219.3 kB / 4.876 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/11.55, allocations: 7.312 kB / 4.876 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/11.55, allocations: 47.47 kB / 4.876 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/11.55, allocations: 32.34 kB / 4.876 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/11.55, allocations: 13.42 kB / 4.876 GB, free: 366.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001039/11.56, allocations: 0.6606 MB / 4.877 GB, free: 366.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/11.56, allocations: 0 / 4.877 GB, free: 366.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001509/11.56, allocations: 449.6 kB / 4.877 GB, free: 366.3 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 (31): * Single equations (assignments): 29 * 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.002239/11.56, allocations: 2.585 MB / 4.879 GB, free: 364.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001109/11.56, allocations: 0.7601 MB / 4.88 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/11.56, allocations: 0 / 4.88 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/11.56, allocations: 177 kB / 4.88 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/11.56, allocations: 391.6 kB / 4.881 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/11.57, allocations: 1.602 MB / 4.882 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008844/11.57, allocations: 1.204 MB / 4.883 GB, free: 363.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002348/11.57, allocations: 0.7454 MB / 4.884 GB, free: 363.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/11.57, allocations: 305 kB / 4.885 GB, free: 363.6 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/11.57, allocations: 0 / 4.885 GB, free: 363.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/11.64, allocations: 29.89 MB / 4.914 GB, free: 362.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/11.64, allocations: 194.2 kB / 4.914 GB, free: 362.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.962/14.6, allocations: 12.03 kB / 4.914 GB, free: 362.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat does not exist to compare? outputFormat=mat