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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001088/0.001088, allocations: 168.9 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.583/1.583, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009335/0.0009336, allocations: 95.89 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.081e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3677, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.445/5.813, allocations: 1.871 GB / 3.077 GB, free: 10.03 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.813, allocations: 95.94 kB / 3.077 GB, free: 9.938 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.751/12.56, allocations: 1.794 GB / 4.871 GB, free: 369.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.383e-06/12.56, allocations: 0 / 4.871 GB, free: 369.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001155/12.56, allocations: 33.22 kB / 4.871 GB, free: 369.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.001874/12.57, allocations: 1.151 MB / 4.872 GB, free: 368.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/12.57, allocations: 8.156 kB / 4.872 GB, free: 368.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/12.57, allocations: 194.2 kB / 4.873 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/12.57, allocations: 1.098 MB / 4.874 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/12.57, allocations: 15.09 kB / 4.874 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/12.57, allocations: 38.55 kB / 4.874 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007101/12.57, allocations: 465 kB / 4.874 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/12.57, allocations: 0.676 MB / 4.875 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/12.57, allocations: 4.562 kB / 4.875 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/12.57, allocations: 2.969 kB / 4.875 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/12.57, allocations: 13.91 kB / 4.875 GB, free: 368.2 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.003889/12.57, allocations: 4.468 MB / 4.879 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/12.58, allocations: 440.6 kB / 4.88 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/12.58, allocations: 234.8 kB / 4.88 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/12.58, allocations: 196.8 kB / 4.88 GB, free: 364.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/12.58, allocations: 265.6 kB / 4.88 GB, free: 364.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.475e-06/12.58, allocations: 0 / 4.88 GB, free: 364.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.00178/12.58, allocations: 0.7587 MB / 4.881 GB, free: 364.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/12.58, allocations: 81.59 kB / 4.881 GB, free: 364.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/12.58, allocations: 0.8555 MB / 4.882 GB, free: 364.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/12.58, allocations: 27.86 kB / 4.882 GB, free: 364.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/12.58, allocations: 495.7 kB / 4.883 GB, free: 364 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/12.58, allocations: 104.3 kB / 4.883 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/12.58, allocations: 1.562 kB / 4.883 GB, free: 363.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/12.58, allocations: 326.6 kB / 4.883 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/12.58, allocations: 178.3 kB / 4.883 GB, free: 363.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/12.58, allocations: 499.7 kB / 4.884 GB, free: 363.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/12.58, allocations: 260.3 kB / 4.884 GB, free: 363.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/12.58, allocations: 5.688 kB / 4.884 GB, free: 363.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001606/12.58, allocations: 0.8935 MB / 4.885 GB, free: 363.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003932/12.58, allocations: 2.127 MB / 4.887 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/12.58, allocations: 5.25 kB / 4.887 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/12.58, allocations: 223.4 kB / 4.887 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/12.58, allocations: 62.09 kB / 4.887 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/12.58, allocations: 1.101 MB / 4.888 GB, free: 360.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/12.59, allocations: 86.72 kB / 4.888 GB, free: 360.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/12.59, allocations: 26.56 kB / 4.888 GB, free: 360.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/12.59, allocations: 3.906 kB / 4.888 GB, free: 360.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/12.59, allocations: 0.6025 MB / 4.889 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/12.59, allocations: 12.83 kB / 4.889 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/12.59, allocations: 193.9 kB / 4.889 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/12.59, allocations: 67.38 kB / 4.889 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/12.59, allocations: 2.964 MB / 4.892 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/12.59, allocations: 83.78 kB / 4.892 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/12.59, allocations: 23.5 kB / 4.892 GB, free: 358.9 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.0002024/12.59, allocations: 124 kB / 4.892 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/12.59, allocations: 104 kB / 4.892 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/12.59, allocations: 0.6423 MB / 4.893 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/12.59, allocations: 6.969 kB / 4.893 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/12.59, allocations: 3.375 kB / 4.893 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/12.59, allocations: 1.156 kB / 4.893 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/12.6, allocations: 1.462 MB / 4.894 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/12.6, allocations: 2.156 kB / 4.894 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/12.6, allocations: 27.34 kB / 4.894 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/12.6, allocations: 186 kB / 4.895 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/12.6, allocations: 3.906 kB / 4.895 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008296/12.6, allocations: 0.9828 MB / 4.896 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/12.6, allocations: 7.109 kB / 4.896 GB, free: 357.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/12.6, allocations: 0.8481 MB / 4.896 GB, free: 357.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/12.6, allocations: 216.7 kB / 4.897 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/12.6, allocations: 6.766 kB / 4.897 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/12.6, allocations: 60 kB / 4.897 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/12.6, allocations: 34.56 kB / 4.897 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/12.6, allocations: 9.531 kB / 4.897 GB, free: 357.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001005/12.6, allocations: 0.6655 MB / 4.897 GB, free: 357 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.21e-07/12.6, allocations: 4.5 kB / 4.897 GB, free: 357 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002261/12.6, allocations: 486.9 kB / 4.898 GB, free: 357 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.00228/12.61, allocations: 1.087 MB / 4.899 GB, free: 356.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002162/12.61, allocations: 0.9882 MB / 4.9 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/12.61, allocations: 2.953 kB / 4.9 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/12.61, allocations: 199 kB / 4.9 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/12.61, allocations: 399.7 kB / 4.9 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/12.61, allocations: 1.323 MB / 4.902 GB, free: 356.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/12.61, allocations: 1.208 MB / 4.903 GB, free: 355.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002052/12.62, allocations: 0.6479 MB / 4.904 GB, free: 355.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/12.62, allocations: 41.86 kB / 4.904 GB, free: 355.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/12.62, allocations: 0 / 4.904 GB, free: 355.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03363/12.65, allocations: 22.41 MB / 4.925 GB, free: 354.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (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 & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches