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.373/2.373, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009927/0.0009927, allocations: 192.8 kB / 487.4 MB, free: 5.051 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.475/1.475, allocations: 221.5 MB / 0.7824 GB, free: 1.051 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.00118/0.00118, allocations: 106.6 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.645e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3009, allocations: 142.4 MB / 1.206 GB, free: 44.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.135, allocations: 1.869 GB / 3.075 GB, free: 12.82 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/5.135, allocations: 87.95 kB / 3.075 GB, free: 12.74 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.706/12.84, allocations: 1.784 GB / 4.859 GB, free: 376 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/12.84, allocations: 0 / 4.859 GB, free: 376 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001347/12.84, allocations: 33.56 kB / 4.859 GB, free: 376 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004473/12.85, allocations: 1.227 MB / 4.86 GB, free: 375.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/12.85, allocations: 8.844 kB / 4.86 GB, free: 375.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/12.85, allocations: 185 kB / 4.86 GB, free: 375.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/12.85, allocations: 1.386 MB / 4.861 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/12.85, allocations: 18.98 kB / 4.861 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/12.85, allocations: 36.53 kB / 4.861 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009369/12.85, allocations: 494.6 kB / 4.862 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/12.85, allocations: 0.6982 MB / 4.863 GB, free: 374.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/12.85, allocations: 9.125 kB / 4.863 GB, free: 374.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/12.85, allocations: 3.359 kB / 4.863 GB, free: 374.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/12.85, allocations: 14.53 kB / 4.863 GB, free: 374.9 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.003914/12.86, allocations: 4.089 MB / 4.867 GB, free: 372.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/12.86, allocations: 462.7 kB / 4.867 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/12.86, allocations: 336.6 kB / 4.867 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/12.86, allocations: 195 kB / 4.868 GB, free: 371.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/12.86, allocations: 281.5 kB / 4.868 GB, free: 371.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004565/12.86, allocations: 15.83 kB / 4.868 GB, free: 371.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/12.86, allocations: 0 / 4.868 GB, free: 371.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001895/12.86, allocations: 0.8005 MB / 4.869 GB, free: 371.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/12.86, allocations: 83.59 kB / 4.869 GB, free: 371.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/12.86, allocations: 0.8482 MB / 4.87 GB, free: 371.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/12.86, allocations: 28.2 kB / 4.87 GB, free: 371.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/12.86, allocations: 493.8 kB / 4.87 GB, free: 371.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/12.86, allocations: 108.2 kB / 4.87 GB, free: 371.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/12.86, allocations: 0 / 4.87 GB, free: 371.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/12.86, allocations: 332.5 kB / 4.87 GB, free: 371 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/12.86, allocations: 199.5 kB / 4.871 GB, free: 371 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/12.86, allocations: 0.5079 MB / 4.871 GB, free: 370.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/12.87, allocations: 287.5 kB / 4.871 GB, free: 370.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/12.87, allocations: 2.812 kB / 4.871 GB, free: 370.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001702/12.87, allocations: 0.934 MB / 4.872 GB, free: 370.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004309/12.87, allocations: 2.129 MB / 4.874 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/12.87, allocations: 6.281 kB / 4.874 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/12.87, allocations: 242.7 kB / 4.875 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/12.87, allocations: 74.84 kB / 4.875 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/12.87, allocations: 1.141 MB / 4.876 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/12.87, allocations: 77.52 kB / 4.876 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/12.87, allocations: 31.83 kB / 4.876 GB, free: 367.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/12.87, allocations: 3.312 kB / 4.876 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/12.87, allocations: 0.6388 MB / 4.877 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/12.87, allocations: 9.141 kB / 4.877 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/12.87, allocations: 222 kB / 4.877 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/12.87, allocations: 73 kB / 4.877 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/12.88, allocations: 2.877 MB / 4.88 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/12.88, allocations: 82.16 kB / 4.88 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/12.88, allocations: 27.98 kB / 4.88 GB, free: 366.4 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete 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.0002382/12.88, allocations: 126.3 kB / 4.88 GB, free: 366.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/12.88, allocations: 95.56 kB / 4.88 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/12.88, allocations: 0.6977 MB / 4.881 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/12.88, allocations: 4.469 kB / 4.881 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/12.88, allocations: 1.875 kB / 4.881 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/12.88, allocations: 6.859 kB / 4.881 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/12.88, allocations: 1.582 MB / 4.882 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/12.88, allocations: 5.75 kB / 4.882 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/12.88, allocations: 30.61 kB / 4.882 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/12.88, allocations: 202.7 kB / 4.882 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/12.88, allocations: 6.281 kB / 4.882 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009591/12.88, allocations: 1.02 MB / 4.883 GB, free: 365.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/12.88, allocations: 3.75 kB / 4.883 GB, free: 365.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/12.89, allocations: 0.9008 MB / 4.884 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/12.89, allocations: 216.3 kB / 4.885 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/12.89, allocations: 5.172 kB / 4.885 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/12.89, allocations: 65.91 kB / 4.885 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/12.89, allocations: 31.84 kB / 4.885 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/12.89, allocations: 11.7 kB / 4.885 GB, free: 364.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001129/12.89, allocations: 0.6673 MB / 4.885 GB, free: 364.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/12.89, allocations: 0 / 4.885 GB, free: 364.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002038/12.89, allocations: 0.5122 MB / 4.886 GB, free: 364.5 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * 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.002525/12.89, allocations: 1.035 MB / 4.887 GB, free: 364.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002259/12.9, allocations: 1.04 MB / 4.888 GB, free: 364.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/12.9, allocations: 1.406 kB / 4.888 GB, free: 364.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/12.9, allocations: 218 kB / 4.888 GB, free: 364.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/12.9, allocations: 0.5383 MB / 4.889 GB, free: 364.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/12.9, allocations: 1.343 MB / 4.89 GB, free: 363.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/12.9, allocations: 1.21 MB / 4.891 GB, free: 363 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002217/12.9, allocations: 0.6676 MB / 4.892 GB, free: 363 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/12.9, allocations: 41.81 kB / 4.892 GB, free: 363 MB / 1.151 GB Notification: Performance of SimCode: time 1.152e-06/12.9, allocations: 0 / 4.892 GB, free: 363 MB / 1.151 GB Notification: Performance of Templates: time 0.04225/12.95, allocations: 23.44 MB / 4.915 GB, free: 362.3 MB / 1.151 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