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.343/2.343, allocations: 387.1 MB / 399.7 MB, free: 9.414 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.001215/0.001215, allocations: 180.2 kB / 492.3 MB, free: 0.6094 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.811/1.811, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001026/0.001026, allocations: 97.94 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.547e-05, allocations: 14.33 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.409, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.984/6.393, allocations: 1.872 GB / 3.084 GB, free: 435.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/6.394, allocations: 91.81 kB / 3.084 GB, free: 435.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.195/12.59, allocations: 1.813 GB / 4.897 GB, free: 358.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.793e-06/12.59, allocations: 0 / 4.897 GB, free: 358.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.608e-05/12.59, allocations: 29.5 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.001762/12.59, allocations: 1.155 MB / 4.898 GB, free: 357.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/12.59, allocations: 7.75 kB / 4.898 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000735/12.59, allocations: 187.2 kB / 4.898 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/12.59, allocations: 1.092 MB / 4.899 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/12.59, allocations: 42.91 kB / 4.899 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/12.59, allocations: 61.06 kB / 4.899 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008815/12.59, allocations: 0.7366 MB / 4.9 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/12.59, allocations: 3.188 kB / 4.9 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/12.59, allocations: 30.25 kB / 4.9 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/12.6, allocations: 17.41 kB / 4.9 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/12.6, allocations: 472.2 kB / 4.901 GB, free: 357 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.003102/12.6, allocations: 4.586 MB / 4.905 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/12.6, allocations: 381.1 kB / 4.905 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/12.6, allocations: 225.4 kB / 4.906 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/12.6, allocations: 200.2 kB / 4.906 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/12.6, allocations: 261.3 kB / 4.906 GB, free: 353.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/12.6, allocations: 7.781 kB / 4.906 GB, free: 353.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001225/12.6, allocations: 0.6701 MB / 4.907 GB, free: 353.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/12.6, allocations: 81.02 kB / 4.907 GB, free: 353.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/12.6, allocations: 0.9798 MB / 4.908 GB, free: 352.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/12.6, allocations: 36.39 kB / 4.908 GB, free: 352.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/12.6, allocations: 0.4909 MB / 4.908 GB, free: 352.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/12.6, allocations: 97.33 kB / 4.908 GB, free: 352.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/12.6, allocations: 9.75 kB / 4.908 GB, free: 352.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/12.6, allocations: 335.8 kB / 4.909 GB, free: 352.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/12.6, allocations: 161 kB / 4.909 GB, free: 352.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/12.6, allocations: 498.4 kB / 4.909 GB, free: 352 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/12.6, allocations: 281 kB / 4.91 GB, free: 352 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/12.6, allocations: 0 / 4.91 GB, free: 352 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001096/12.6, allocations: 0.8549 MB / 4.911 GB, free: 351.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003854/12.61, allocations: 2.135 MB / 4.913 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/12.61, allocations: 3.906 kB / 4.913 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005023/12.61, allocations: 232.2 kB / 4.913 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/12.61, allocations: 60.94 kB / 4.913 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007604/12.61, allocations: 1.001 MB / 4.914 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/12.61, allocations: 109.9 kB / 4.914 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/12.61, allocations: 35.19 kB / 4.914 GB, free: 349 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/12.61, allocations: 5 kB / 4.914 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/12.61, allocations: 0.6842 MB / 4.915 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/12.61, allocations: 3.938 kB / 4.915 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/12.61, allocations: 207 kB / 4.915 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/12.61, allocations: 73.45 kB / 4.915 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/12.61, allocations: 3.062 MB / 4.918 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/12.61, allocations: 99.23 kB / 4.918 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/12.61, allocations: 27.5 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.0001618/12.61, allocations: 139.2 kB / 4.918 GB, free: 347 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/12.61, allocations: 103.9 kB / 4.918 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/12.61, allocations: 0.6736 MB / 4.919 GB, free: 346.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/12.61, allocations: 6.562 kB / 4.919 GB, free: 346.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/12.61, allocations: 3.953 kB / 4.919 GB, free: 346.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/12.61, allocations: 2.625 kB / 4.919 GB, free: 346.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/12.62, allocations: 1.569 MB / 4.92 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/12.62, allocations: 3.188 kB / 4.92 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/12.62, allocations: 25.62 kB / 4.921 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/12.62, allocations: 220.8 kB / 4.921 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/12.62, allocations: 7.938 kB / 4.921 GB, free: 345.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/12.62, allocations: 0.9667 MB / 4.922 GB, free: 345.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/12.62, allocations: 3.344 kB / 4.922 GB, free: 345.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/12.62, allocations: 0.8904 MB / 4.923 GB, free: 344.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/12.62, allocations: 221.1 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/12.62, allocations: 7.812 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/12.62, allocations: 56.02 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/12.62, allocations: 34.42 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/12.62, allocations: 17.94 kB / 4.923 GB, free: 344.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007895/12.62, allocations: 0.7741 MB / 4.924 GB, free: 344.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/12.62, allocations: 0 / 4.924 GB, free: 344.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001549/12.62, allocations: 0.5118 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.00124/12.62, allocations: 0.975 MB / 4.925 GB, free: 343.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001429/12.62, allocations: 1.017 MB / 4.926 GB, free: 343.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/12.62, allocations: 0 / 4.926 GB, free: 343.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/12.63, allocations: 209.6 kB / 4.926 GB, free: 343.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/12.63, allocations: 457.4 kB / 4.927 GB, free: 343.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/12.63, allocations: 1.364 MB / 4.928 GB, free: 342.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/12.63, allocations: 1.202 MB / 4.929 GB, free: 341.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001655/12.63, allocations: 0.7436 MB / 4.93 GB, free: 341.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/12.63, allocations: 39.44 kB / 4.93 GB, free: 341.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/12.63, allocations: 0 / 4.93 GB, free: 341.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04071/12.67, allocations: 34.24 MB / 4.963 GB, free: 316 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