Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 173.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.0009283, allocations: 87.8 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 13.56 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 106.3 MB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.301/5.523, allocations: 2.184 GB / 3.085 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/5.523, allocations: 95.83 kB / 3.085 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.461/11.98, allocations: 1.739 GB / 4.824 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.675e-06/11.98, allocations: 0 / 4.824 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001331/11.98, allocations: 28.12 kB / 4.824 GB, free: 256.9 MB / 0.8855 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.005473/11.99, allocations: 1.516 MB / 4.825 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/11.99, allocations: 15 kB / 4.825 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/11.99, allocations: 185.6 kB / 4.825 GB, free: 256.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/11.99, allocations: 1.417 MB / 4.827 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/11.99, allocations: 44.25 kB / 4.827 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/11.99, allocations: 63.38 kB / 4.827 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/12, allocations: 0.7954 MB / 4.828 GB, free: 255.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/12, allocations: 6.656 kB / 4.828 GB, free: 255.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/12, allocations: 20.78 kB / 4.828 GB, free: 255.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/12, allocations: 15.34 kB / 4.828 GB, free: 255.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/12, allocations: 0.5367 MB / 4.828 GB, free: 255.7 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003457/12, allocations: 4.216 MB / 4.832 GB, free: 252.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/12, allocations: 418.6 kB / 4.833 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/12, allocations: 193.1 kB / 4.833 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/12, allocations: 315.2 kB / 4.833 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002983/12, allocations: 33.73 kB / 4.833 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 4.047e-06/12, allocations: 7.219 kB / 4.833 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001264/12, allocations: 0.6815 MB / 4.834 GB, free: 252.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/12, allocations: 81.45 kB / 4.834 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/12, allocations: 1.021 MB / 4.835 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/12, allocations: 36.2 kB / 4.835 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/12, allocations: 493 kB / 4.836 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/12.01, allocations: 114.4 kB / 4.836 GB, free: 252 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/12.01, allocations: 10.41 kB / 4.836 GB, free: 252 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/12.01, allocations: 328.7 kB / 4.836 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/12.01, allocations: 200.2 kB / 4.836 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/12.01, allocations: 0.516 MB / 4.837 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/12.01, allocations: 309.9 kB / 4.837 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/12.01, allocations: 0 / 4.837 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009657/12.01, allocations: 0.7129 MB / 4.838 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005124/12.01, allocations: 2.134 MB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/12.01, allocations: 11.55 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/12.01, allocations: 7.5 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/12.01, allocations: 117 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/12.01, allocations: 14.36 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/12.01, allocations: 94.05 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/12.01, allocations: 28.06 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/12.01, allocations: 3.812 kB / 4.84 GB, free: 249 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000785/12.01, allocations: 0.5603 MB / 4.841 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/12.01, allocations: 3.969 kB / 4.841 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/12.01, allocations: 11.03 kB / 4.841 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/12.01, allocations: 124.4 kB / 4.841 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/12.01, allocations: 7.469 kB / 4.841 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/12.01, allocations: 100.2 kB / 4.841 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/12.01, allocations: 23.16 kB / 4.841 GB, free: 248.9 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.0006177/12.01, allocations: 474.5 kB / 4.841 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/12.01, allocations: 102.2 kB / 4.841 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/12.01, allocations: 0.5349 MB / 4.842 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/12.01, allocations: 3.906 kB / 4.842 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/12.01, allocations: 3.719 kB / 4.842 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/12.01, allocations: 3.844 kB / 4.842 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/12.01, allocations: 1.46 MB / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/12.01, allocations: 0 / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/12.02, allocations: 80.11 kB / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/12.02, allocations: 3.844 kB / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/12.02, allocations: 15.2 kB / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/12.02, allocations: 7.75 kB / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/12.02, allocations: 3.375 kB / 4.843 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/12.02, allocations: 0.7342 MB / 4.844 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/12.02, allocations: 230.4 kB / 4.844 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/12.02, allocations: 7.156 kB / 4.844 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/12.02, allocations: 76.77 kB / 4.844 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/12.02, allocations: 25.44 kB / 4.844 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/12.02, allocations: 14.72 kB / 4.844 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009205/12.02, allocations: 0.8076 MB / 4.845 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/12.02, allocations: 0 / 4.845 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001493/12.02, allocations: 497.8 kB / 4.846 GB, free: 247.5 MB / 0.8855 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.001458/12.02, allocations: 0.9798 MB / 4.847 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001278/12.02, allocations: 0.8632 MB / 4.848 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/12.02, allocations: 0 / 4.848 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/12.02, allocations: 228.1 kB / 4.848 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/12.03, allocations: 0.6341 MB / 4.848 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/12.03, allocations: 1.971 MB / 4.85 GB, free: 246.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/12.03, allocations: 1.204 MB / 4.851 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001076/12.03, allocations: 401.8 kB / 4.852 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/12.03, allocations: 78.5 kB / 4.852 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of SimCode: time 6.92e-07/12.03, allocations: 0 / 4.852 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.04294/12.07, allocations: 29.95 MB / 4.881 GB, free: 241.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches