Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 391.2 MB / 407 MB, free: 10.91 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.001833/0.001833, allocations: 199.4 kB / 499.1 MB, free: 4.676 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.474/1.474, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.0009943/0.000994, allocations: 106.6 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 50.22 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2736, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1698/0.4434, allocations: 159.4 MB / 1.374 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.4464, allocations: 1.774 MB / 1.375 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.4467, allocations: 7.938 kB / 1.375 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.4473, allocations: 139.2 kB / 1.376 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.4485, allocations: 498 kB / 1.376 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009364/0.4494, allocations: 354.7 kB / 1.376 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.4524, allocations: 3.511 MB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.4549, allocations: 2.247 MB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.4567, allocations: 0.9337 MB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008638/0.4576, allocations: 0.7389 MB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4577, allocations: 40 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.4591, allocations: 0.8068 MB / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.4594, allocations: 290.9 kB / 1.385 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.4601, allocations: 0.5283 MB / 1.385 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4616, allocations: 1.398 MB / 1.387 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4616, allocations: 0 / 1.387 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4616, allocations: 0 / 1.387 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.4616, allocations: 0 / 1.387 GB, free: 7.969 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002222/0.4638, allocations: 1.451 MB / 1.388 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4639, allocations: 11.97 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006946/0.4646, allocations: 186.5 kB / 1.388 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.4659, allocations: 0.8099 MB / 1.389 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.4659, allocations: 49 kB / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.466, allocations: 64 kB / 1.389 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4671, allocations: 0.82 MB / 1.39 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4671, allocations: 3.938 kB / 1.39 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.4672, allocations: 24 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4672, allocations: 12 kB / 1.39 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/0.4681, allocations: 0.5579 MB / 1.391 GB, free: 3.785 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.003507/0.4716, allocations: 4.219 MB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.4723, allocations: 442.1 kB / 1.395 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.4727, allocations: 345.8 kB / 1.395 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.473, allocations: 190.2 kB / 1.396 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.4735, allocations: 323.1 kB / 1.396 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000211/0.4737, allocations: 35.59 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.4737, allocations: 0 / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.00469/0.4784, allocations: 1.678 MB / 1.398 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4785, allocations: 81.11 kB / 1.398 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4797, allocations: 1.151 MB / 1.399 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.4798, allocations: 37.7 kB / 1.399 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.4801, allocations: 484.4 kB / 1.399 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/0.4802, allocations: 122.4 kB / 1.399 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4804, allocations: 106.2 kB / 1.399 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.4805, allocations: 334 kB / 1.4 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.4809, allocations: 230.9 kB / 1.4 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.4814, allocations: 0.5423 MB / 1.401 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.4823, allocations: 0.6741 MB / 1.401 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4823, allocations: 4 kB / 1.401 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002072/0.4844, allocations: 1.112 MB / 1.402 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.4844, allocations: 37.69 kB / 1.402 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4845, allocations: 4 kB / 1.402 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.4857, allocations: 374.2 kB / 1.403 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.4861, allocations: 87.86 kB / 1.403 GB, free: 6.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.4871, allocations: 1.037 MB / 1.404 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.4879, allocations: 79.98 kB / 1.404 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.488, allocations: 35.86 kB / 1.404 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00069/0.4887, allocations: 0.5164 MB / 1.404 GB, free: 4.883 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005183/0.4892, allocations: 0.4992 MB / 1.405 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007534/0.49, allocations: 0.6035 MB / 1.405 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.49, allocations: 0 / 1.405 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001429/0.4914, allocations: 0.8924 MB / 1.406 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.4915, allocations: 37.64 kB / 1.406 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4915, allocations: 4 kB / 1.406 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/0.492, allocations: 243.5 kB / 1.407 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.4923, allocations: 83.81 kB / 1.407 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.4957, allocations: 3.023 MB / 1.41 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/0.4966, allocations: 88.17 kB / 1.41 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.4967, allocations: 24 kB / 1.41 GB, free: 15.02 MB / 0.9167 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.4969, allocations: 219.8 kB / 1.41 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.497, allocations: 110.6 kB / 1.41 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.4984, allocations: 0.7733 MB / 1.411 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4984, allocations: 4.094 kB / 1.411 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4985, allocations: 3.984 kB / 1.411 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4985, allocations: 7.922 kB / 1.411 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.5009, allocations: 1.722 MB / 1.413 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5009, allocations: 0 / 1.413 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.5012, allocations: 52.05 kB / 1.413 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.5017, allocations: 237.5 kB / 1.413 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.5017, allocations: 12.22 kB / 1.413 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/0.5026, allocations: 1.015 MB / 1.414 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.5026, allocations: 7.969 kB / 1.414 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.5045, allocations: 1.882 MB / 1.416 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.5049, allocations: 219.8 kB / 1.416 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.505, allocations: 8 kB / 1.416 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.5056, allocations: 55.88 kB / 1.416 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.5057, allocations: 35.83 kB / 1.416 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.5058, allocations: 19.94 kB / 1.416 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009985/0.5068, allocations: 0.8158 MB / 1.417 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5068, allocations: 0 / 1.417 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001477/0.5083, allocations: 471.4 kB / 1.417 GB, free: 7.148 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004677/0.5087, allocations: 164.2 kB / 1.417 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.5109, allocations: 1.13 MB / 1.418 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5109, allocations: 0 / 1.418 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.5114, allocations: 259 kB / 1.419 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.5145, allocations: 0.6288 MB / 1.419 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.5176, allocations: 2.325 MB / 1.422 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.5184, allocations: 1.197 MB / 1.423 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009239/0.5193, allocations: 316.4 kB / 1.423 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5195, allocations: 63.44 kB / 1.423 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of SimCode: time 1.303e-06/0.5195, allocations: 0 / 1.423 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of Templates: time 0.5179/1.037, allocations: 21.99 MB / 1.445 GB, free: 198.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)