Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001113/0.001113, allocations: 181.1 kB / 498.1 MB, free: 5.738 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.612/1.612, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009295/0.0009298, allocations: 92.27 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004264, allocations: 10.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3605, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.311, allocations: 1.869 GB / 3.092 GB, free: 117.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/5.312, allocations: 93.95 kB / 3.092 GB, free: 117.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.809/12.12, allocations: 1.804 GB / 4.896 GB, free: 124.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.286e-06/12.12, allocations: 0 / 4.896 GB, free: 124.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002284/12.12, allocations: 31.98 kB / 4.896 GB, free: 124.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006418/12.13, allocations: 1.519 MB / 4.897 GB, free: 123 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/12.13, allocations: 11.97 kB / 4.897 GB, free: 123 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/12.13, allocations: 182.5 kB / 4.898 GB, free: 122.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/12.13, allocations: 1.393 MB / 4.899 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/12.13, allocations: 45 kB / 4.899 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/12.13, allocations: 63.95 kB / 4.899 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/12.14, allocations: 0.7947 MB / 4.9 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/12.14, allocations: 3.938 kB / 4.9 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/12.14, allocations: 24 kB / 4.9 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/12.14, allocations: 15.98 kB / 4.9 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/12.14, allocations: 0.5423 MB / 4.9 GB, free: 119.8 MB / 1.167 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.004654/12.14, allocations: 4.211 MB / 4.905 GB, free: 115.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006655/12.14, allocations: 440.6 kB / 4.905 GB, free: 114.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/12.14, allocations: 198.2 kB / 4.905 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/12.14, allocations: 311.1 kB / 4.905 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005745/12.14, allocations: 39.77 kB / 4.906 GB, free: 114.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.306e-06/12.14, allocations: 0 / 4.906 GB, free: 114.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.003613/12.15, allocations: 1.382 MB / 4.907 GB, free: 112.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/12.15, allocations: 81.11 kB / 4.907 GB, free: 112.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/12.15, allocations: 1.016 MB / 4.908 GB, free: 111.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/12.15, allocations: 37.7 kB / 4.908 GB, free: 111.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/12.15, allocations: 488.8 kB / 4.908 GB, free: 111.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/12.15, allocations: 122.4 kB / 4.909 GB, free: 111.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/12.15, allocations: 8 kB / 4.909 GB, free: 111.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/12.15, allocations: 322 kB / 4.909 GB, free: 110.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/12.15, allocations: 205 kB / 4.909 GB, free: 110.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/12.15, allocations: 0.5295 MB / 4.91 GB, free: 109.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/12.15, allocations: 311.4 kB / 4.91 GB, free: 109.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/12.15, allocations: 0 / 4.91 GB, free: 109.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001587/12.15, allocations: 0.9603 MB / 4.911 GB, free: 108.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006184/12.15, allocations: 2.136 MB / 4.913 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/12.15, allocations: 4 kB / 4.913 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/12.15, allocations: 261.8 kB / 4.913 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/12.15, allocations: 67.89 kB / 4.913 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009876/12.15, allocations: 1.029 MB / 4.914 GB, free: 104.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/12.16, allocations: 87.81 kB / 4.914 GB, free: 104.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/12.16, allocations: 24 kB / 4.914 GB, free: 104.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/12.16, allocations: 4 kB / 4.914 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/12.16, allocations: 0.7847 MB / 4.915 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/12.16, allocations: 4 kB / 4.915 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/12.16, allocations: 246.2 kB / 4.915 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/12.16, allocations: 71.7 kB / 4.915 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/12.16, allocations: 3.059 MB / 4.918 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/12.16, allocations: 83.88 kB / 4.918 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/12.16, allocations: 24 kB / 4.919 GB, free: 100.4 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008718/12.16, allocations: 468.7 kB / 4.919 GB, free: 99.95 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/12.16, allocations: 102.7 kB / 4.919 GB, free: 99.85 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/12.17, allocations: 0.785 MB / 4.92 GB, free: 99.05 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/12.17, allocations: 4 kB / 4.92 GB, free: 99.05 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/12.17, allocations: 0 / 4.92 GB, free: 99.05 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/12.17, allocations: 0 / 4.92 GB, free: 99.05 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/12.17, allocations: 1.729 MB / 4.922 GB, free: 97.24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/12.17, allocations: 224 / 4.922 GB, free: 97.24 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/12.17, allocations: 35.91 kB / 4.922 GB, free: 97.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/12.17, allocations: 246.6 kB / 4.922 GB, free: 96.96 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/12.17, allocations: 8 kB / 4.922 GB, free: 96.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007285/12.17, allocations: 1.006 MB / 4.923 GB, free: 95.92 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/12.17, allocations: 4.031 kB / 4.923 GB, free: 95.92 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/12.17, allocations: 0.989 MB / 4.924 GB, free: 94.85 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/12.17, allocations: 223.8 kB / 4.924 GB, free: 94.61 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/12.17, allocations: 8 kB / 4.924 GB, free: 94.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/12.17, allocations: 67.77 kB / 4.924 GB, free: 94.54 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/12.17, allocations: 31.92 kB / 4.924 GB, free: 94.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/12.17, allocations: 11.98 kB / 4.924 GB, free: 94.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001124/12.17, allocations: 0.8041 MB / 4.925 GB, free: 93.68 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/12.17, allocations: 0 / 4.925 GB, free: 93.68 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002206/12.18, allocations: 0.5348 MB / 4.925 GB, free: 93.15 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/12.18, allocations: 0.9144 MB / 4.926 GB, free: 92.23 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002076/12.18, allocations: 1.109 MB / 4.927 GB, free: 91.09 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/12.18, allocations: 3.938 kB / 4.927 GB, free: 91.09 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/12.18, allocations: 255.3 kB / 4.928 GB, free: 90.84 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/12.18, allocations: 0.6229 MB / 4.928 GB, free: 90.22 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/12.19, allocations: 1.981 MB / 4.93 GB, free: 88.19 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/12.19, allocations: 1.208 MB / 4.931 GB, free: 86.95 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001243/12.19, allocations: 308.4 kB / 4.932 GB, free: 86.64 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/12.19, allocations: 63.44 kB / 4.932 GB, free: 86.58 MB / 1.167 GB Notification: Performance of SimCode: time 1.553e-06/12.19, allocations: 0 / 4.932 GB, free: 86.58 MB / 1.167 GB Notification: Performance of Templates: time 0.04876/12.24, allocations: 31.43 MB / 4.962 GB, free: 55.35 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches