Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00143/0.00143, allocations: 113.4 kB / 16.42 MB, free: 6.449 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.001589/0.001589, allocations: 185.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 284.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9099/0.9099, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 99.78 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3716, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1579/0.5295, allocations: 161.6 MB / 0.9249 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.5322, allocations: 1.76 MB / 0.9266 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.5324, allocations: 15.94 kB / 0.9266 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.5328, allocations: 166.9 kB / 0.9268 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.5339, allocations: 0.5172 MB / 0.9273 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008824/0.5348, allocations: 388.4 kB / 0.9277 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5373, allocations: 2.549 MB / 0.9301 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.5399, allocations: 2.419 MB / 0.9325 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.5413, allocations: 1.047 MB / 0.9335 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007858/0.5421, allocations: 0.7156 MB / 0.9342 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5422, allocations: 56 kB / 0.9343 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.5433, allocations: 0.7445 MB / 0.935 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.5436, allocations: 314.9 kB / 0.9353 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.5441, allocations: 0.5517 MB / 0.9358 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.5455, allocations: 1.416 MB / 0.9372 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5455, allocations: 0 / 0.9372 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5455, allocations: 0 / 0.9372 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5455, allocations: 7.938 kB / 0.9372 GB, free: 4.996 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.00201/0.5475, allocations: 1.451 MB / 0.9387 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5476, allocations: 8.031 kB / 0.9387 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.5483, allocations: 190.5 kB / 0.9388 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.5495, allocations: 0.8567 MB / 0.9397 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.5495, allocations: 45 kB / 0.9397 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.5496, allocations: 60 kB / 0.9398 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5508, allocations: 0.8238 MB / 0.9406 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5508, allocations: 7.938 kB / 0.9406 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.5508, allocations: 20 kB / 0.9406 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5509, allocations: 16 kB / 0.9406 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.5518, allocations: 0.5618 MB / 0.9412 GB, free: 0.7656 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.003392/0.5552, allocations: 4.2 MB / 0.9453 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.5559, allocations: 454.1 kB / 0.9457 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.5564, allocations: 343 kB / 0.946 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.5567, allocations: 190.2 kB / 0.9462 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.5572, allocations: 319.1 kB / 0.9465 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001397/0.5574, allocations: 35.59 kB / 0.9466 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.5574, allocations: 0 / 0.9466 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.004896/0.5623, allocations: 1.677 MB / 0.9482 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5623, allocations: 81.11 kB / 0.9483 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.5636, allocations: 1.151 MB / 0.9494 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.5636, allocations: 37.7 kB / 0.9494 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.564, allocations: 488.4 kB / 0.9499 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.5641, allocations: 122.4 kB / 0.95 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.5642, allocations: 114.2 kB / 0.9501 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.5643, allocations: 322 kB / 0.9504 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.5647, allocations: 234.9 kB / 0.9507 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.5654, allocations: 0.5437 MB / 0.9512 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.5663, allocations: 0.6802 MB / 0.9519 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5663, allocations: 4 kB / 0.9519 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002165/0.5685, allocations: 1.103 MB / 0.9529 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.5685, allocations: 41.75 kB / 0.953 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5685, allocations: 7.938 kB / 0.953 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.5698, allocations: 378.1 kB / 0.9533 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.5702, allocations: 79.88 kB / 0.9534 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009868/0.5712, allocations: 1.042 MB / 0.9544 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.5719, allocations: 51.94 kB / 0.9545 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.572, allocations: 27.98 kB / 0.9545 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006624/0.5726, allocations: 0.5204 MB / 0.955 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005417/0.5732, allocations: 0.5069 MB / 0.9555 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007655/0.574, allocations: 0.5957 MB / 0.9561 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.574, allocations: 0 / 0.9561 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.286/0.86, allocations: 0.8895 MB / 0.957 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.8601, allocations: 35.44 kB / 0.957 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.8601, allocations: 6.438 kB / 0.957 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/0.8608, allocations: 245.4 kB / 0.9572 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.8612, allocations: 91.88 kB / 0.9573 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.8649, allocations: 3.268 MB / 0.9605 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/0.8658, allocations: 71.14 kB / 0.9606 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.8659, allocations: 25.12 kB / 0.9606 GB, free: 187.9 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 (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.0001484/0.866, allocations: 213.2 kB / 0.9608 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.8662, allocations: 104 kB / 0.9609 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.8676, allocations: 0.7777 MB / 0.9617 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.8676, allocations: 1.922 kB / 0.9617 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8676, allocations: 3.938 kB / 0.9617 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.8679, allocations: 231.7 kB / 0.9619 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.868, allocations: 10.39 kB / 0.9619 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.8686, allocations: 35.19 kB / 0.9619 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.8687, allocations: 45.3 kB / 0.962 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001529/0.8703, allocations: 0.8554 MB / 0.9628 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00118/0.8715, allocations: 0.9878 MB / 0.9638 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003506/0.8718, allocations: 201.8 kB / 0.964 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001021/0.8729, allocations: 0.8171 MB / 0.9648 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of Backend: time 3.01e-07/0.8729, allocations: 0 / 0.9648 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.8754, allocations: 1.205 MB / 0.966 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003465/0.8789, allocations: 2.697 MB / 0.9686 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02539/0.9043, allocations: 21.8 MB / 0.9899 GB, free: 164.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)