Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009833, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001225/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 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.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.582/1.582, allocations: 252 MB / 0.5102 GB, free: 4.762 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.0005397/0.0005398, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4961, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1627/0.6588, allocations: 146.9 MB / 0.8716 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.6618, allocations: 1.695 MB / 0.8732 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.6621, allocations: 11.88 kB / 0.8732 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.6626, allocations: 111.2 kB / 0.8733 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.6636, allocations: 382.2 kB / 0.8737 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.6646, allocations: 338.7 kB / 0.874 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002778/0.6674, allocations: 2.986 MB / 0.8769 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009089/0.6683, allocations: 0.6817 MB / 0.8776 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.6697, allocations: 0.8715 MB / 0.8784 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.6706, allocations: 0.7001 MB / 0.8791 GB, free: 348 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.6707, allocations: 36 kB / 0.8792 GB, free: 312 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.6718, allocations: 0.5535 MB / 0.8797 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.6721, allocations: 286.9 kB / 0.88 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.6724, allocations: 233.1 kB / 0.8802 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.6735, allocations: 1.025 MB / 0.8812 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6735, allocations: 0 / 0.8812 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6735, allocations: 0 / 0.8812 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.6735, allocations: 0 / 0.8812 GB, free: 14.21 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.001914/0.6754, allocations: 1.299 MB / 0.8825 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6755, allocations: 8.031 kB / 0.8825 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006925/0.6762, allocations: 190.5 kB / 0.8827 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6774, allocations: 0.7846 MB / 0.8834 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.6775, allocations: 48.89 kB / 0.8835 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.6776, allocations: 64 kB / 0.8835 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6788, allocations: 0.8003 MB / 0.8843 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6788, allocations: 3.984 kB / 0.8843 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.6789, allocations: 27.98 kB / 0.8843 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.6789, allocations: 12 kB / 0.8844 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008675/0.6797, allocations: 0.5423 MB / 0.8849 GB, free: 10.23 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.004221/0.684, allocations: 4.606 MB / 0.8894 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.6847, allocations: 427.2 kB / 0.8898 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.6851, allocations: 244.7 kB / 0.89 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.6855, allocations: 202.2 kB / 0.8902 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005095/0.686, allocations: 297 kB / 0.8905 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 2.514e-06/0.686, allocations: 7.938 kB / 0.8905 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001362/0.6874, allocations: 0.6434 MB / 0.8911 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.6875, allocations: 81.11 kB / 0.8912 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.6887, allocations: 1.118 MB / 0.8923 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.6888, allocations: 33.7 kB / 0.8923 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.6891, allocations: 488.4 kB / 0.8928 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6893, allocations: 118.4 kB / 0.8929 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.6893, allocations: 12 kB / 0.8929 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6894, allocations: 318 kB / 0.8932 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.6898, allocations: 192.7 kB / 0.8934 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.6904, allocations: 0.4901 MB / 0.8939 GB, free: 372 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.6908, allocations: 301.7 kB / 0.8942 GB, free: 64 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6909, allocations: 4 kB / 0.8942 GB, free: 60 kB / 0.7012 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001019/0.6919, allocations: 0.6733 MB / 0.8948 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.6921, allocations: 287 kB / 0.8951 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6921, allocations: 4 kB / 0.8951 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.6921, allocations: 8 kB / 0.8951 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.6925, allocations: 115.8 kB / 0.8952 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.6926, allocations: 8 kB / 0.8952 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.6933, allocations: 115.3 kB / 0.8954 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.6933, allocations: 24 kB / 0.8954 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.6934, allocations: 5.875 kB / 0.8954 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008381/0.6942, allocations: 0.5282 MB / 0.8959 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6942, allocations: 8 kB / 0.8959 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.6942, allocations: 8.625 kB / 0.8959 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.6946, allocations: 111.8 kB / 0.896 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.6946, allocations: 11.94 kB / 0.896 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.6952, allocations: 99.52 kB / 0.8961 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.6953, allocations: 20 kB / 0.8961 GB, free: 13.95 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005881/0.6959, allocations: 470.1 kB / 0.8966 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.696, allocations: 98.78 kB / 0.8967 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008779/0.6969, allocations: 0.4993 MB / 0.8972 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.6969, allocations: 4 kB / 0.8972 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6969, allocations: 4 kB / 0.8972 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6969, allocations: 11.97 kB / 0.8972 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.6988, allocations: 1.393 MB / 0.8986 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6988, allocations: 0 / 0.8986 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.699, allocations: 67.89 kB / 0.8986 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.6991, allocations: 7.953 kB / 0.8986 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.6991, allocations: 8 kB / 0.8986 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.6991, allocations: 12.09 kB / 0.8987 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6991, allocations: 12 kB / 0.8987 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.6999, allocations: 0.6061 MB / 0.8993 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.7002, allocations: 223.8 kB / 0.8995 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7003, allocations: 11.95 kB / 0.8995 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.7008, allocations: 59.78 kB / 0.8995 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.7008, allocations: 31.97 kB / 0.8996 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.7009, allocations: 11.98 kB / 0.8996 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009039/0.7018, allocations: 0.7797 MB / 0.9003 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7018, allocations: 0 / 0.9003 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001095/0.7029, allocations: 415.4 kB / 0.9007 GB, free: 9.086 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003896/0.7033, allocations: 172.9 kB / 0.9009 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.7045, allocations: 0.8059 MB / 0.9017 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7046, allocations: 0 / 0.9017 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.7049, allocations: 204.3 kB / 0.9019 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.7068, allocations: 473.8 kB / 0.9023 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.7094, allocations: 1.952 MB / 0.9042 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.71, allocations: 1.181 MB / 0.9054 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001049/0.7111, allocations: 419.5 kB / 0.9058 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.7113, allocations: 75.42 kB / 0.9059 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.7113, allocations: 0 / 0.9059 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.3704/1.082, allocations: 16 MB / 0.9215 GB, free: 176.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: