Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 115.2 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.001114/0.001114, allocations: 183.9 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 289.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.9424/0.9424, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3747, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1545/0.5292, allocations: 161.6 MB / 0.9249 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004625/0.5338, allocations: 3.628 MB / 0.9284 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.5342, allocations: 7.938 kB / 0.9284 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.5347, allocations: 166.9 kB / 0.9286 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.536, allocations: 0.5484 MB / 0.9291 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.5372, allocations: 434.6 kB / 0.9295 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.5397, allocations: 2.544 MB / 0.932 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.5409, allocations: 0.9489 MB / 0.933 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.5426, allocations: 1.043 MB / 0.934 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009477/0.5435, allocations: 0.7078 MB / 0.9347 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.5437, allocations: 56 kB / 0.9347 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.545, allocations: 0.7523 MB / 0.9355 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.5454, allocations: 306.9 kB / 0.9358 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/0.5461, allocations: 0.5401 MB / 0.9363 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.5476, allocations: 1.408 MB / 0.9377 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5476, allocations: 0 / 0.9377 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5476, allocations: 0 / 0.9377 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.5477, allocations: 0 / 0.9377 GB, free: 4.598 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00237/0.55, allocations: 1.451 MB / 0.9391 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.5501, allocations: 8.031 kB / 0.9391 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.5509, allocations: 194.4 kB / 0.9393 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.5523, allocations: 0.8491 MB / 0.9401 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.5524, allocations: 52.94 kB / 0.9401 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.5525, allocations: 56 kB / 0.9402 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.5536, allocations: 0.7925 MB / 0.941 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5537, allocations: 8 kB / 0.941 GB, free: 1 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.5537, allocations: 20 kB / 0.941 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5537, allocations: 16 kB / 0.941 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.5547, allocations: 0.5305 MB / 0.9415 GB, free: 440 kB / 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.003911/0.5586, allocations: 4.579 MB / 0.946 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.5593, allocations: 430.2 kB / 0.9464 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.5597, allocations: 244.7 kB / 0.9466 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.56, allocations: 194.2 kB / 0.9468 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004837/0.5604, allocations: 301.6 kB / 0.9471 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.5605, allocations: 0 / 0.9471 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.003833/0.5643, allocations: 1.317 MB / 0.9484 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5643, allocations: 81.11 kB / 0.9485 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5656, allocations: 1.114 MB / 0.9496 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.5657, allocations: 37.7 kB / 0.9496 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.5661, allocations: 488.2 kB / 0.9501 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.5662, allocations: 114.6 kB / 0.9502 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.5663, allocations: 113.9 kB / 0.9503 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.5664, allocations: 325.9 kB / 0.9506 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.5668, allocations: 214.4 kB / 0.9508 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.5674, allocations: 0.5252 MB / 0.9513 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.5683, allocations: 0.6229 MB / 0.9519 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5683, allocations: 4 kB / 0.9519 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002259/0.5706, allocations: 1.051 MB / 0.953 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.5706, allocations: 37.69 kB / 0.953 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5706, allocations: 4 kB / 0.953 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.572, allocations: 362.7 kB / 0.9533 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.5723, allocations: 59.84 kB / 0.9534 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000952/0.5732, allocations: 1.013 MB / 0.9544 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.5738, allocations: 79.42 kB / 0.9545 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.5739, allocations: 24 kB / 0.9545 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006421/0.5745, allocations: 0.4928 MB / 0.955 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005174/0.5751, allocations: 496.2 kB / 0.9554 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007282/0.5758, allocations: 0.5535 MB / 0.956 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.5758, allocations: 0 / 0.956 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.2951/0.8709, allocations: 0.8215 MB / 0.9568 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.871, allocations: 34.92 kB / 0.9568 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.871, allocations: 5.938 kB / 0.9568 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.8716, allocations: 207.4 kB / 0.957 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.8718, allocations: 63.78 kB / 0.9571 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.8757, allocations: 3.341 MB / 0.9603 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.8764, allocations: 74.86 kB / 0.9604 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.8765, allocations: 27.08 kB / 0.9604 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.8766, allocations: 213.4 kB / 0.9606 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.8768, allocations: 98.95 kB / 0.9607 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.878, allocations: 0.7172 MB / 0.9614 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.878, allocations: 1.922 kB / 0.9614 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.8781, allocations: 4.969 kB / 0.9614 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.8784, allocations: 212.6 kB / 0.9616 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.8785, allocations: 11.5 kB / 0.9617 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.8789, allocations: 21.39 kB / 0.9617 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.879, allocations: 42.66 kB / 0.9617 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001356/0.8803, allocations: 0.7969 MB / 0.9625 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001095/0.8814, allocations: 0.9182 MB / 0.9634 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003166/0.8818, allocations: 190.5 kB / 0.9636 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009414/0.8827, allocations: 0.7953 MB / 0.9644 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of Backend: time 4.81e-07/0.8827, allocations: 0.875 kB / 0.9644 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002465/0.8852, allocations: 1.155 MB / 0.9655 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00336/0.8886, allocations: 2.652 MB / 0.9681 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02486/0.9134, allocations: 20.64 MB / 0.9882 GB, free: 166.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)