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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.365/2.365, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001051/0.001051, allocations: 168.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0009421/0.000942, allocations: 95.89 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-05/6.142e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.662/6.991, allocations: 1.873 GB / 3.091 GB, free: 364.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/6.991, allocations: 89.28 kB / 3.091 GB, free: 364.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.02/14.01, allocations: 1.813 GB / 4.904 GB, free: 350.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.192e-06/14.01, allocations: 0 / 4.904 GB, free: 350.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001842/14.01, allocations: 30.59 kB / 4.904 GB, free: 350.8 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.002687/14.01, allocations: 1.149 MB / 4.905 GB, free: 350.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/14.01, allocations: 6.656 kB / 4.905 GB, free: 350.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/14.02, allocations: 193.2 kB / 4.905 GB, free: 350.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/14.02, allocations: 1.099 MB / 4.906 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/14.02, allocations: 42.72 kB / 4.907 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/14.02, allocations: 63.25 kB / 4.907 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/14.02, allocations: 0.7396 MB / 4.907 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/14.02, allocations: 7.828 kB / 4.907 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/14.02, allocations: 25.77 kB / 4.907 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/14.02, allocations: 14.25 kB / 4.907 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000714/14.02, allocations: 474.2 kB / 4.908 GB, free: 349.5 MB / 1.167 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.003758/14.02, allocations: 4.589 MB / 4.912 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/14.02, allocations: 388.9 kB / 4.913 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/14.02, allocations: 223.9 kB / 4.913 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/14.02, allocations: 191.2 kB / 4.913 GB, free: 345.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/14.03, allocations: 276.8 kB / 4.913 GB, free: 345.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/14.03, allocations: 3.812 kB / 4.913 GB, free: 345.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001253/14.03, allocations: 0.6642 MB / 4.914 GB, free: 345.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/14.03, allocations: 84.12 kB / 4.914 GB, free: 345.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/14.03, allocations: 0.9792 MB / 4.915 GB, free: 345.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/14.03, allocations: 40.02 kB / 4.915 GB, free: 345.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/14.03, allocations: 489.2 kB / 4.916 GB, free: 345.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/14.03, allocations: 110.6 kB / 4.916 GB, free: 345 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/14.03, allocations: 7.844 kB / 4.916 GB, free: 345 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/14.03, allocations: 329.3 kB / 4.916 GB, free: 344.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/14.03, allocations: 165.1 kB / 4.916 GB, free: 344.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/14.03, allocations: 494.4 kB / 4.917 GB, free: 344.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/14.03, allocations: 275.1 kB / 4.917 GB, free: 344.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/14.03, allocations: 0 / 4.917 GB, free: 344.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00108/14.03, allocations: 0.8514 MB / 4.918 GB, free: 343.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003748/14.03, allocations: 2.137 MB / 4.92 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/14.03, allocations: 6.969 kB / 4.92 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004759/14.03, allocations: 236.6 kB / 4.92 GB, free: 341.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/14.03, allocations: 66.36 kB / 4.92 GB, free: 341.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007718/14.03, allocations: 0.9986 MB / 4.921 GB, free: 340.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/14.03, allocations: 109.6 kB / 4.921 GB, free: 340.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/14.03, allocations: 29.48 kB / 4.921 GB, free: 340.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/14.03, allocations: 3.188 kB / 4.921 GB, free: 340.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009833/14.03, allocations: 0.6861 MB / 4.922 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/14.03, allocations: 3.594 kB / 4.922 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/14.03, allocations: 214.9 kB / 4.922 GB, free: 340.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/14.03, allocations: 62.83 kB / 4.922 GB, free: 340.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/14.04, allocations: 3.07 MB / 4.925 GB, free: 338.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007829/14.04, allocations: 97.61 kB / 4.925 GB, free: 338.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/14.04, allocations: 20.88 kB / 4.925 GB, free: 338.3 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 () * 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.0001425/14.04, allocations: 138.1 kB / 4.925 GB, free: 338.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/14.04, allocations: 106.4 kB / 4.925 GB, free: 338.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/14.04, allocations: 0.6762 MB / 4.926 GB, free: 337.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/14.04, allocations: 7.922 kB / 4.926 GB, free: 337.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/14.04, allocations: 0 / 4.926 GB, free: 337.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/14.04, allocations: 3.844 kB / 4.926 GB, free: 337.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/14.04, allocations: 1.566 MB / 4.928 GB, free: 337.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/14.04, allocations: 0 / 4.928 GB, free: 337.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/14.04, allocations: 29.92 kB / 4.928 GB, free: 337.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/14.04, allocations: 227.7 kB / 4.928 GB, free: 337 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/14.04, allocations: 14.75 kB / 4.928 GB, free: 337 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007572/14.04, allocations: 0.9614 MB / 4.929 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/14.04, allocations: 7.594 kB / 4.929 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/14.04, allocations: 0.876 MB / 4.93 GB, free: 335.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/14.04, allocations: 219.2 kB / 4.93 GB, free: 335.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/14.05, allocations: 11.34 kB / 4.93 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/14.05, allocations: 58.3 kB / 4.93 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/14.05, allocations: 38.86 kB / 4.93 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/14.05, allocations: 11.59 kB / 4.93 GB, free: 335.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008118/14.05, allocations: 0.7703 MB / 4.931 GB, free: 335.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/14.05, allocations: 0 / 4.931 GB, free: 335.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001394/14.05, allocations: 0.5085 MB / 4.931 GB, free: 335.3 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) * 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.001194/14.05, allocations: 0.9635 MB / 4.932 GB, free: 335 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001337/14.05, allocations: 1.014 MB / 4.933 GB, free: 334.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/14.05, allocations: 0 / 4.933 GB, free: 334.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/14.05, allocations: 223.2 kB / 4.933 GB, free: 334.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/14.05, allocations: 449.2 kB / 4.934 GB, free: 334.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/14.05, allocations: 1.363 MB / 4.935 GB, free: 333.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/14.05, allocations: 1.211 MB / 4.936 GB, free: 333.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001695/14.06, allocations: 0.7338 MB / 4.937 GB, free: 333.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/14.06, allocations: 41.84 kB / 4.937 GB, free: 333.1 MB / 1.167 GB Notification: Performance of SimCode: time 3.1e-07/14.06, allocations: 0 / 4.937 GB, free: 333.1 MB / 1.167 GB Notification: Performance of Templates: time 0.0435/14.1, allocations: 34.25 MB / 4.971 GB, free: 315.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (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 & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches