Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.945/1.945, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 169.9 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007695/0.0007694, allocations: 83.98 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 9.672 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.03394/0.2281, allocations: 50.23 MB / 0.9458 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02189/0.2501, allocations: 19.28 MB / 0.9646 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.2534, allocations: 63.56 kB / 0.9647 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.2569, allocations: 0.9794 MB / 0.9656 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007326/0.2643, allocations: 2.225 MB / 0.9678 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009102/0.2734, allocations: 3 MB / 0.9707 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008335/0.2818, allocations: 5.852 MB / 0.9764 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.2845, allocations: 1.387 MB / 0.9778 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.2881, allocations: 1.505 MB / 0.9793 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.2904, allocations: 1.31 MB / 0.9805 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.2908, allocations: 72 kB / 0.9806 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.2942, allocations: 1.489 MB / 0.9821 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006037/0.2948, allocations: 0.4981 MB / 0.9826 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.296, allocations: 0.9088 MB / 0.9834 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.2993, allocations: 2.63 MB / 0.986 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2993, allocations: 3.938 kB / 0.986 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2993, allocations: 0 / 0.986 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.569e-05/0.2993, allocations: 4 kB / 0.986 GB, free: 8.465 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003563/0.3029, allocations: 2.081 MB / 0.9881 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.303, allocations: 8.031 kB / 0.9881 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.3061, allocations: 0.615 MB / 0.9887 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.3103, allocations: 1.875 MB / 0.9905 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.3104, allocations: 86 kB / 0.9906 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.3106, allocations: 112 kB / 0.9907 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.3129, allocations: 1.29 MB / 0.9919 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3129, allocations: 0 / 0.9919 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.313, allocations: 43.94 kB / 0.992 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3131, allocations: 24 kB / 0.992 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.3152, allocations: 0.9641 MB / 0.9929 GB, free: 1.199 MB / 0.6355 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.00856/0.3238, allocations: 5.683 MB / 0.9985 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.3261, allocations: 0.8596 MB / 0.9993 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.327, allocations: 370.3 kB / 0.9997 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003537/0.3305, allocations: 2.177 MB / 1.002 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3306, allocations: 43.12 kB / 1.002 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005815/0.3312, allocations: 111.3 kB / 1.002 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.448e-06/0.3312, allocations: 0 / 1.002 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.003678/0.3349, allocations: 1.303 MB / 1.003 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.335, allocations: 214.2 kB / 1.003 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.3369, allocations: 1.526 MB / 1.005 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/0.3371, allocations: 41.7 kB / 1.005 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/0.3377, allocations: 0.811 MB / 1.006 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.3379, allocations: 209 kB / 1.006 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.338, allocations: 89.67 kB / 1.006 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3381, allocations: 345.9 kB / 1.006 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009262/0.3391, allocations: 457.7 kB / 1.007 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.3403, allocations: 0.7989 MB / 1.008 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.3423, allocations: 1.184 MB / 1.009 GB, free: 20 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3423, allocations: 7.938 kB / 1.009 GB, free: 12 kB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002835/0.3451, allocations: 1.457 MB / 1.01 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.3453, allocations: 338 kB / 1.011 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.3454, allocations: 15.98 kB / 1.011 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/0.3459, allocations: 144.8 kB / 1.011 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.3467, allocations: 227.6 kB / 1.011 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005276/0.3473, allocations: 0.6615 MB / 1.012 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3484, allocations: 87.89 kB / 1.012 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.3486, allocations: 59.97 kB / 1.012 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.3486, allocations: 10.66 kB / 1.012 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002462/0.351, allocations: 1.183 MB / 1.013 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3511, allocations: 12.38 kB / 1.013 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008936/0.352, allocations: 220.7 kB / 1.013 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.3527, allocations: 199.7 kB / 1.013 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.3581, allocations: 3.222 MB / 1.016 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3592, allocations: 91.83 kB / 1.016 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3594, allocations: 51.98 kB / 1.017 GB, free: 7.684 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000861/0.3602, allocations: 497.4 kB / 1.017 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.3606, allocations: 161.9 kB / 1.017 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.3633, allocations: 1.244 MB / 1.018 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3633, allocations: 15.88 kB / 1.018 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3633, allocations: 0 / 1.018 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3633, allocations: 3.984 kB / 1.018 GB, free: 5.758 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.004633/0.368, allocations: 2.414 MB / 1.021 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.368, allocations: 0 / 1.021 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.3686, allocations: 123.8 kB / 1.021 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.369, allocations: 112.7 kB / 1.021 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/0.3691, allocations: 36.03 kB / 1.021 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004551/0.3695, allocations: 0.6382 MB / 1.022 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3696, allocations: 0 / 1.022 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.3728, allocations: 1.623 MB / 1.023 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/0.3734, allocations: 326.8 kB / 1.024 GB, free: 344 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.3737, allocations: 12 kB / 1.024 GB, free: 332 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/0.3747, allocations: 83.92 kB / 1.024 GB, free: 248 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.3748, allocations: 40.5 kB / 1.024 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.3748, allocations: 39.97 kB / 1.024 GB, free: 168 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001683/0.3765, allocations: 1.025 MB / 1.025 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3765, allocations: 0 / 1.025 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002987/0.3795, allocations: 0.9278 MB / 1.026 GB, free: 14.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.381, allocations: 0.5475 MB / 1.026 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.385, allocations: 1.868 MB / 1.028 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.385, allocations: 448 / 1.028 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.386, allocations: 443 kB / 1.028 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/0.3896, allocations: 0.754 MB / 1.029 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/0.3953, allocations: 3.552 MB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.3966, allocations: 1.384 MB / 1.034 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.3971, allocations: 139.4 kB / 1.034 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/0.3971, allocations: 0 / 1.034 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of Templates: time 0.423/0.8202, allocations: 38.71 MB / 1.072 GB, free: 142.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)