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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007366/0.007366, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 187.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.592/1.592, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001419/0.001419, allocations: 72.36 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2276, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04944/0.277, allocations: 50.87 MB / 0.8777 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02935/0.3064, allocations: 18.83 MB / 0.8961 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005126/0.3116, allocations: 71.56 kB / 0.8962 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.3156, allocations: 1.153 MB / 0.8973 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00799/0.3236, allocations: 2.409 MB / 0.8997 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008741/0.3324, allocations: 3.567 MB / 0.9031 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6696/1.002, allocations: 4.473 MB / 0.9075 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/1.006, allocations: 1.674 MB / 0.9091 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/1.011, allocations: 1.801 MB / 0.9109 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/1.014, allocations: 1.354 MB / 0.9122 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006075/1.014, allocations: 190.9 kB / 0.9124 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005268/1.02, allocations: 1.651 MB / 0.914 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/1.021, allocations: 0.6074 MB / 0.9146 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002016/1.023, allocations: 1.052 MB / 0.9156 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008521/1.031, allocations: 3.543 MB / 0.9191 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.031, allocations: 2.594 kB / 0.9191 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/1.031, allocations: 0 / 0.9191 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001195/1.031, allocations: 0 / 0.9191 GB, free: 7.027 MB / 0.7169 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.007605/1.039, allocations: 2.45 MB / 0.9215 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.039, allocations: 8.906 kB / 0.9215 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.043, allocations: 0.5668 MB / 0.9221 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/1.048, allocations: 1.86 MB / 0.9239 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/1.048, allocations: 85.98 kB / 0.9239 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/1.049, allocations: 119.9 kB / 0.9241 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/1.052, allocations: 1.288 MB / 0.9253 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/1.052, allocations: 1.312 kB / 0.9253 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.052, allocations: 44.03 kB / 0.9254 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/1.052, allocations: 29.02 kB / 0.9254 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/1.054, allocations: 0.9326 MB / 0.9263 GB, free: 4.91 MB / 0.7169 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.009945/1.064, allocations: 5.829 MB / 0.932 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/1.067, allocations: 0.8154 MB / 0.9328 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/1.068, allocations: 354.1 kB / 0.9331 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004354/1.072, allocations: 2.127 MB / 0.9352 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/1.072, allocations: 47.48 kB / 0.9353 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=56): time 3.186e-06/1.072, allocations: 0 / 0.9353 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56): time 0.003857/1.076, allocations: 1.246 MB / 0.9365 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/1.076, allocations: 217.2 kB / 0.9367 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/1.079, allocations: 1.555 MB / 0.9382 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.079, allocations: 39.11 kB / 0.9382 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/1.08, allocations: 0.8063 MB / 0.939 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/1.08, allocations: 200.6 kB / 0.9392 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/1.08, allocations: 223.8 kB / 0.9394 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.08, allocations: 341.1 kB / 0.9397 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.081, allocations: 450.6 kB / 0.9402 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.083, allocations: 0.7856 MB / 0.9409 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/1.085, allocations: 1.145 MB / 0.9421 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.085, allocations: 3.312 kB / 0.9421 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003349/1.088, allocations: 1.435 MB / 0.9435 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.088, allocations: 7.875 kB / 0.9435 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/1.088, allocations: 14.75 kB / 0.9435 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/1.089, allocations: 141.8 kB / 0.9436 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/1.09, allocations: 218.6 kB / 0.9438 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/1.09, allocations: 0.6681 MB / 0.9445 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.092, allocations: 125.8 kB / 0.9446 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/1.092, allocations: 64.98 kB / 0.9447 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001562/1.094, allocations: 0.7121 MB / 0.9454 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/1.095, allocations: 0.72 MB / 0.9461 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001842/1.097, allocations: 1.019 MB / 0.9471 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.752e-06/1.097, allocations: 6.625 kB / 0.9471 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=113) (initialization_lambda0): time 0.003073/1.1, allocations: 1.324 MB / 0.9484 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.1, allocations: 14.75 kB / 0.9484 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.1, allocations: 10.33 kB / 0.9484 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008773/1.101, allocations: 213.2 kB / 0.9486 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/1.101, allocations: 206.1 kB / 0.9488 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/1.108, allocations: 3.498 MB / 0.9522 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.109, allocations: 106.6 kB / 0.9523 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/1.109, allocations: 57.5 kB / 0.9524 GB, free: 10.37 MB / 0.7325 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 (102): * Single equations (assignments): 95 * 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.0004959/1.11, allocations: 233.9 kB / 0.9526 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/1.11, allocations: 165.4 kB / 0.9527 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/1.114, allocations: 1.197 MB / 0.9539 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.114, allocations: 7.344 kB / 0.9539 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.114, allocations: 3.281 kB / 0.9539 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.114, allocations: 5.109 kB / 0.9539 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/1.119, allocations: 2.363 MB / 0.9562 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.119, allocations: 4.125 kB / 0.9562 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/1.12, allocations: 126 kB / 0.9564 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/1.12, allocations: 108 kB / 0.9565 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/1.12, allocations: 27.19 kB / 0.9565 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005056/1.121, allocations: 0.6444 MB / 0.9571 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.121, allocations: 6.531 kB / 0.9571 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/1.124, allocations: 1.586 MB / 0.9587 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.125, allocations: 331.4 kB / 0.959 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/1.125, allocations: 22.78 kB / 0.959 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007251/1.126, allocations: 39.38 kB / 0.959 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/1.126, allocations: 47.3 kB / 0.9591 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/1.126, allocations: 39.45 kB / 0.9591 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002081/1.128, allocations: 1.044 MB / 0.9601 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.128, allocations: 3.938 kB / 0.9601 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004899/1.133, allocations: 0.9137 MB / 0.961 GB, free: 6.32 MB / 0.7325 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 (63): * Single equations (assignments): 56 * 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.001875/1.135, allocations: 0.5648 MB / 0.9616 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004358/1.14, allocations: 1.837 MB / 0.9634 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.14, allocations: 0 / 0.9634 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009598/1.141, allocations: 434.8 kB / 0.9638 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.144, allocations: 0.7829 MB / 0.9646 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/1.15, allocations: 2.829 MB / 0.9673 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/1.151, allocations: 1.376 MB / 0.9687 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001755/1.152, allocations: 419.9 kB / 0.9691 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/1.153, allocations: 139.9 kB / 0.9692 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.153, allocations: 0 / 0.9692 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of Templates: time 0.06597/1.219, allocations: 38.23 MB / 1.007 GB, free: 1.695 MB / 0.7637 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)