Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.646/1.646, allocations: 287.5 MB / 302.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 188.5 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008851, allocations: 93.17 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006968/0.0006971, allocations: 14.59 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2504, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.6261/0.8765, allocations: 146.7 MB / 1.122 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003055/0.8796, allocations: 1.636 MB / 1.124 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.8803, allocations: 13.09 kB / 1.124 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.881, allocations: 108.8 kB / 1.124 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.8826, allocations: 395.2 kB / 1.124 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.8841, allocations: 333.5 kB / 1.124 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.8877, allocations: 3.05 MB / 1.127 GB, free: 480 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.8903, allocations: 2.199 MB / 1.13 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.8926, allocations: 0.876 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.8942, allocations: 0.7188 MB / 1.131 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.8944, allocations: 34.59 kB / 1.131 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.8963, allocations: 0.5521 MB / 1.132 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005212/0.8968, allocations: 284.7 kB / 1.132 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.8974, allocations: 231.9 kB / 1.132 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.8989, allocations: 1.033 MB / 1.133 GB, free: 15.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.899, allocations: 0 / 1.133 GB, free: 15.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.899, allocations: 0 / 1.133 GB, free: 15.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.069e-05/0.899, allocations: 0 / 1.133 GB, free: 15.6 MB / 0.698 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.0027/0.9017, allocations: 1.322 MB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.9018, allocations: 11.09 kB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/0.9027, allocations: 187.2 kB / 1.135 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.9044, allocations: 0.8459 MB / 1.135 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.9045, allocations: 46.41 kB / 1.136 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.9046, allocations: 56.72 kB / 1.136 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.906, allocations: 0.8243 MB / 1.136 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.9061, allocations: 5.906 kB / 1.136 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.9061, allocations: 19.03 kB / 1.136 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.9061, allocations: 14.41 kB / 1.136 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.9073, allocations: 0.5749 MB / 1.137 GB, free: 14.07 MB / 0.698 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.004988/0.9123, allocations: 4.256 MB / 1.141 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.9131, allocations: 457.9 kB / 1.142 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.9136, allocations: 341.7 kB / 1.142 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.914, allocations: 198.9 kB / 1.142 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.9146, allocations: 327.8 kB / 1.142 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004139/0.915, allocations: 39 kB / 1.142 GB, free: 10.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 4.379e-06/0.915, allocations: 1.625 kB / 1.142 GB, free: 10.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005326/0.9204, allocations: 1.717 MB / 1.144 GB, free: 9.695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.9204, allocations: 81.42 kB / 1.144 GB, free: 9.602 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.9223, allocations: 1.145 MB / 1.145 GB, free: 9.238 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.9224, allocations: 37.36 kB / 1.145 GB, free: 9.207 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.9229, allocations: 492.6 kB / 1.146 GB, free: 9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.923, allocations: 122.6 kB / 1.146 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.923, allocations: 9.531 kB / 1.146 GB, free: 8.914 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9231, allocations: 321.8 kB / 1.146 GB, free: 8.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.9236, allocations: 208.3 kB / 1.146 GB, free: 8.559 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.9242, allocations: 0.519 MB / 1.147 GB, free: 8.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.9251, allocations: 0.6358 MB / 1.148 GB, free: 7.801 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.9251, allocations: 1 kB / 1.148 GB, free: 7.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002595/0.9277, allocations: 1.054 MB / 1.149 GB, free: 7.402 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000327/0.9281, allocations: 279 kB / 1.149 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.9281, allocations: 5.188 kB / 1.149 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.9297, allocations: 346.8 kB / 1.149 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.9302, allocations: 104.5 kB / 1.149 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.9317, allocations: 1.046 MB / 1.15 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.9332, allocations: 85.47 kB / 1.15 GB, free: 6.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/0.9333, allocations: 21.97 kB / 1.15 GB, free: 6.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.9333, allocations: 4.156 kB / 1.15 GB, free: 6.262 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00182/0.9351, allocations: 0.7995 MB / 1.151 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.9351, allocations: 7.172 kB / 1.151 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/0.9359, allocations: 242 kB / 1.151 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.9363, allocations: 101.4 kB / 1.152 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.9402, allocations: 3.049 MB / 1.155 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9414, allocations: 89.06 kB / 1.155 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.9415, allocations: 22.91 kB / 1.155 GB, free: 4.105 MB / 0.698 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.0008849/0.9424, allocations: 465.3 kB / 1.155 GB, free: 3.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.9428, allocations: 103.8 kB / 1.155 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.9445, allocations: 0.7872 MB / 1.156 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.9446, allocations: 13.92 kB / 1.156 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.9446, allocations: 0.9375 kB / 1.156 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9446, allocations: 0 / 1.156 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.9477, allocations: 1.74 MB / 1.158 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.9477, allocations: 2.438 kB / 1.158 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.948, allocations: 59.53 kB / 1.158 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.9485, allocations: 254.4 kB / 1.158 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.9486, allocations: 9.219 kB / 1.158 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.9496, allocations: 1.008 MB / 1.159 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9496, allocations: 6.344 kB / 1.159 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.9512, allocations: 0.8962 MB / 1.16 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.9518, allocations: 242.2 kB / 1.16 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.952, allocations: 16.52 kB / 1.16 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007589/0.9528, allocations: 61.78 kB / 1.16 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.9529, allocations: 35.8 kB / 1.16 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.9529, allocations: 12.27 kB / 1.16 GB, free: 1.297 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001371/0.9543, allocations: 0.8074 MB / 1.161 GB, free: 1.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9543, allocations: 4 kB / 1.161 GB, free: 1.031 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001756/0.9561, allocations: 474.2 kB / 1.161 GB, free: 1 MB / 0.698 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.0005027/0.9566, allocations: 168.6 kB / 1.162 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.959, allocations: 1.136 MB / 1.163 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.959, allocations: 1.859 kB / 1.163 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.9595, allocations: 257.6 kB / 1.163 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.9632, allocations: 0.6239 MB / 1.164 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.9667, allocations: 1.989 MB / 1.165 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/0.9676, allocations: 1.188 MB / 1.167 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00121/0.9689, allocations: 341.7 kB / 1.167 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.9691, allocations: 59.59 kB / 1.167 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.9691, allocations: 0 / 1.167 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.03643/1.005, allocations: 20.75 MB / 1.187 GB, free: 15.61 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)