Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008143/0.0008144, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005641/0.0005642, allocations: 23.94 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5218, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1523/0.6742, allocations: 146.9 MB / 0.8716 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.6776, allocations: 1.692 MB / 0.8732 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.678, allocations: 7.938 kB / 0.8732 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.6785, allocations: 115.2 kB / 0.8733 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.6797, allocations: 391.9 kB / 0.8737 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.6807, allocations: 331.7 kB / 0.874 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.6836, allocations: 3.003 MB / 0.877 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/0.6861, allocations: 2.143 MB / 0.879 GB, free: 456 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.6877, allocations: 0.8794 MB / 0.8799 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.6885, allocations: 0.6962 MB / 0.8806 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.6886, allocations: 36 kB / 0.8806 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.6897, allocations: 0.5497 MB / 0.8812 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.69, allocations: 286.9 kB / 0.8814 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.6903, allocations: 237 kB / 0.8817 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6914, allocations: 1.037 MB / 0.8827 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6914, allocations: 4 kB / 0.8827 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6914, allocations: 0 / 0.8827 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.6914, allocations: 0 / 0.8827 GB, free: 12.71 MB / 0.7012 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.002024/0.6934, allocations: 1.327 MB / 0.884 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6935, allocations: 8.031 kB / 0.884 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/0.6942, allocations: 190.5 kB / 0.8842 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.6955, allocations: 0.7963 MB / 0.8849 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.6956, allocations: 48.95 kB / 0.885 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.6956, allocations: 56 kB / 0.885 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.6968, allocations: 0.8354 MB / 0.8858 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.6969, allocations: 0 / 0.8858 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.6969, allocations: 20 kB / 0.8859 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.6969, allocations: 12 kB / 0.8859 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.6978, allocations: 0.5735 MB / 0.8864 GB, free: 8.656 MB / 0.7012 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.003704/0.7015, allocations: 4.258 MB / 0.8906 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.7022, allocations: 456.9 kB / 0.891 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.7027, allocations: 352.2 kB / 0.8914 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/0.703, allocations: 190.4 kB / 0.8915 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005062/0.7035, allocations: 331 kB / 0.8919 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002383/0.7038, allocations: 35.62 kB / 0.8919 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.7038, allocations: 0 / 0.8919 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.004693/0.7085, allocations: 1.698 MB / 0.8936 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.7086, allocations: 85.11 kB / 0.8936 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.71, allocations: 1.147 MB / 0.8948 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.7101, allocations: 33.7 kB / 0.8948 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.7105, allocations: 488.5 kB / 0.8953 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.7106, allocations: 118.4 kB / 0.8954 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.7106, allocations: 11.94 kB / 0.8954 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7107, allocations: 329.9 kB / 0.8957 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.7111, allocations: 205 kB / 0.8959 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.7117, allocations: 0.5189 MB / 0.8964 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.7122, allocations: 318.4 kB / 0.8967 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.7122, allocations: 4 kB / 0.8967 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002012/0.7142, allocations: 1.041 MB / 0.8977 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.7144, allocations: 275.1 kB / 0.898 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.7144, allocations: 11.97 kB / 0.898 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.7156, allocations: 352.4 kB / 0.8983 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.7159, allocations: 95.86 kB / 0.8984 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.717, allocations: 1.048 MB / 0.8994 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.7178, allocations: 87.92 kB / 0.8995 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.7179, allocations: 27.94 kB / 0.8996 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.7179, allocations: 4 kB / 0.8996 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.7192, allocations: 0.7908 MB / 0.9003 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.7193, allocations: 4 kB / 0.9003 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.7198, allocations: 251.1 kB / 0.9006 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.7202, allocations: 107.8 kB / 0.9007 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.7237, allocations: 3.039 MB / 0.9036 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/0.7246, allocations: 87.81 kB / 0.9037 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.7247, allocations: 27.98 kB / 0.9038 GB, free: 6.102 MB / 0.7169 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.0006562/0.7254, allocations: 466.7 kB / 0.9042 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.7255, allocations: 110.7 kB / 0.9043 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.7268, allocations: 0.8046 MB / 0.9051 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7268, allocations: 4 kB / 0.9051 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.7269, allocations: 0 / 0.9051 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.7269, allocations: 0 / 0.9051 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.7293, allocations: 1.736 MB / 0.9068 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7293, allocations: 3.953 kB / 0.9068 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.7295, allocations: 64.09 kB / 0.9069 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.73, allocations: 238.7 kB / 0.9071 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.73, allocations: 8 kB / 0.9071 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008507/0.7309, allocations: 1.005 MB / 0.9081 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7309, allocations: 4.031 kB / 0.9081 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.7321, allocations: 0.9052 MB / 0.909 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.7324, allocations: 227.7 kB / 0.9092 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.7326, allocations: 11.98 kB / 0.9092 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.7331, allocations: 71.7 kB / 0.9093 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.7332, allocations: 35.92 kB / 0.9093 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.7332, allocations: 11.98 kB / 0.9093 GB, free: 236 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.4875/1.221, allocations: 0.8021 MB / 0.9101 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.41e-07/1.221, allocations: 0 / 0.9101 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002065/1.223, allocations: 470.7 kB / 0.9105 GB, free: 180.5 MB / 0.7169 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.0005254/1.223, allocations: 174.6 kB / 0.9107 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002524/1.226, allocations: 1.131 MB / 0.9118 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.226, allocations: 0 / 0.9118 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/1.227, allocations: 262.3 kB / 0.9121 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/1.23, allocations: 0.6359 MB / 0.9127 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/1.233, allocations: 1.987 MB / 0.9146 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/1.234, allocations: 1.184 MB / 0.9158 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001227/1.235, allocations: 344.3 kB / 0.9161 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/1.235, allocations: 64.91 kB / 0.9162 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/1.235, allocations: 0.9062 kB / 0.9162 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.03214/1.267, allocations: 20.72 MB / 0.9364 GB, free: 164.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: