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.496/1.496, allocations: 252 MB / 268 MB, free: 10.88 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.001252/0.001252, allocations: 174.7 kB / 327.6 MB, free: 2.121 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.617/1.617, allocations: 205.4 MB / 0.5786 GB, free: 20.23 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.0008345/0.0008345, allocations: 79.62 kB / 0.6832 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003122, allocations: 8.75 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1931, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.03675/0.2299, allocations: 49.54 MB / 0.9498 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.2532, allocations: 19.07 MB / 0.9684 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.2566, allocations: 59.56 kB / 0.9685 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.26, allocations: 0.9678 MB / 0.9694 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.2671, allocations: 2.223 MB / 0.9716 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0089/0.276, allocations: 3.006 MB / 0.9745 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008094/0.2841, allocations: 5.865 MB / 0.9803 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.2869, allocations: 1.4 MB / 0.9816 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.2904, allocations: 1.489 MB / 0.9831 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.2929, allocations: 1.314 MB / 0.9844 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.2932, allocations: 68 kB / 0.9844 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.2967, allocations: 1.493 MB / 0.9859 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007165/0.2974, allocations: 0.498 MB / 0.9864 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.2988, allocations: 0.9339 MB / 0.9873 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.3026, allocations: 2.63 MB / 0.9899 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3026, allocations: 4 kB / 0.9899 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3026, allocations: 0 / 0.9899 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.566e-05/0.3027, allocations: 0 / 0.9899 GB, free: 4.688 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.003949/0.3067, allocations: 2.085 MB / 0.9919 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3067, allocations: 8.031 kB / 0.9919 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.3098, allocations: 0.615 MB / 0.9925 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.3142, allocations: 1.873 MB / 0.9943 GB, free: 16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/0.3143, allocations: 89.94 kB / 0.9944 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.3146, allocations: 108 kB / 0.9945 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.3171, allocations: 1.294 MB / 0.9958 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3172, allocations: 7.875 kB / 0.9958 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3173, allocations: 44 kB / 0.9958 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.3173, allocations: 24 kB / 0.9959 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.3198, allocations: 0.9641 MB / 0.9968 GB, free: 13.41 MB / 0.6511 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.008555/0.3283, allocations: 5.691 MB / 1.002 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.3306, allocations: 0.8525 MB / 1.003 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.3314, allocations: 374.3 kB / 1.004 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/0.3346, allocations: 2.173 MB / 1.006 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.3347, allocations: 43.12 kB / 1.006 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005862/0.3353, allocations: 111.2 kB / 1.006 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.445e-06/0.3353, allocations: 0 / 1.006 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.003615/0.3389, allocations: 1.299 MB / 1.007 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.339, allocations: 218.1 kB / 1.007 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.3411, allocations: 1.537 MB / 1.009 GB, free: 436 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3412, allocations: 41.7 kB / 1.009 GB, free: 388 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/0.3418, allocations: 0.8032 MB / 1.01 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.342, allocations: 209 kB / 1.01 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3421, allocations: 16 kB / 1.01 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3422, allocations: 341.9 kB / 1.01 GB, free: 15 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009658/0.3432, allocations: 457.7 kB / 1.011 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.3444, allocations: 0.795 MB / 1.011 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.3465, allocations: 1.18 MB / 1.013 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.3465, allocations: 4 kB / 1.013 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002989/0.3495, allocations: 1.472 MB / 1.014 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.3498, allocations: 330.2 kB / 1.014 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.3498, allocations: 15.98 kB / 1.014 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.3503, allocations: 144.7 kB / 1.014 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.3513, allocations: 223.7 kB / 1.015 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006133/0.3519, allocations: 0.6615 MB / 1.015 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.3532, allocations: 87.89 kB / 1.015 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3534, allocations: 63.97 kB / 1.015 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3534, allocations: 4 kB / 1.015 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002625/0.356, allocations: 1.188 MB / 1.017 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.3561, allocations: 8 kB / 1.017 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009004/0.357, allocations: 216.9 kB / 1.017 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.3578, allocations: 207.8 kB / 1.017 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.3639, allocations: 3.216 MB / 1.02 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.3656, allocations: 91.7 kB / 1.02 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.366, allocations: 55.98 kB / 1.02 GB, free: 3.988 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.001528/0.3675, allocations: 0.489 MB / 1.021 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/0.3682, allocations: 161.9 kB / 1.021 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.3718, allocations: 1.244 MB / 1.022 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.3719, allocations: 15.98 kB / 1.022 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3719, allocations: 4 kB / 1.022 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3719, allocations: 0 / 1.022 GB, free: 2.051 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.005458/0.3773, allocations: 2.41 MB / 1.025 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3774, allocations: 4 kB / 1.025 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.3782, allocations: 123.8 kB / 1.025 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.3786, allocations: 112.7 kB / 1.025 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/0.3786, allocations: 31.91 kB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005039/0.3792, allocations: 0.6304 MB / 1.025 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3792, allocations: 4 kB / 1.025 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.3828, allocations: 1.623 MB / 1.027 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/0.3836, allocations: 326.8 kB / 1.027 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.384, allocations: 19.98 kB / 1.027 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.3851, allocations: 75.94 kB / 1.027 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3852, allocations: 48.48 kB / 1.027 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.3853, allocations: 27.98 kB / 1.027 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002039/0.3874, allocations: 1.029 MB / 1.028 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3874, allocations: 4 kB / 1.028 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003516/0.3909, allocations: 0.9316 MB / 1.029 GB, free: 10.51 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.001466/0.3924, allocations: 0.5474 MB / 1.03 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003968/0.3964, allocations: 1.872 MB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.3964, allocations: 4 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3975, allocations: 443.8 kB / 1.032 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.4014, allocations: 0.7433 MB / 1.033 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.407, allocations: 3.592 MB / 1.036 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.4081, allocations: 1.38 MB / 1.038 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.4086, allocations: 139.4 kB / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of SimCode: time 7.91e-07/0.4086, allocations: 0 / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of Templates: time 0.4256/0.8342, allocations: 38.72 MB / 1.076 GB, free: 132.1 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)