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.0009406/0.000941, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009804/0.0009805, allocations: 177.3 kB / 15.95 MB, free: 216 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.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.571/1.571, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0005931/0.0005935, allocations: 19.12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6131, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04359/0.6567, allocations: 42.75 MB / 0.7697 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02568/0.6824, allocations: 16.64 MB / 0.786 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.6855, allocations: 59.56 kB / 0.786 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.6893, allocations: 0.9291 MB / 0.7869 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00936/0.6987, allocations: 2.337 MB / 0.7892 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.7088, allocations: 2.951 MB / 0.7921 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00661/0.7154, allocations: 2.692 MB / 0.7947 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.7179, allocations: 1.264 MB / 0.7959 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.7212, allocations: 1.304 MB / 0.7972 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.7229, allocations: 0.8788 MB / 0.7981 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.7231, allocations: 68 kB / 0.7981 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.7266, allocations: 1.197 MB / 0.7993 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006384/0.7272, allocations: 454.4 kB / 0.7997 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000635/0.7279, allocations: 408.6 kB / 0.8001 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.7318, allocations: 2.541 MB / 0.8026 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.7319, allocations: 0 / 0.8026 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7319, allocations: 0 / 0.8026 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.884e-05/0.7319, allocations: 0 / 0.8026 GB, free: 14.83 MB / 0.6231 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.004375/0.7363, allocations: 2.104 MB / 0.8047 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.7364, allocations: 8.031 kB / 0.8047 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.7395, allocations: 0.6141 MB / 0.8053 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004819/0.7443, allocations: 1.813 MB / 0.8071 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.7445, allocations: 86 kB / 0.8071 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.7447, allocations: 119.9 kB / 0.8072 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.7472, allocations: 1.259 MB / 0.8085 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.7473, allocations: 7.938 kB / 0.8085 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.7474, allocations: 40 kB / 0.8085 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.7474, allocations: 24 kB / 0.8085 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.7497, allocations: 0.9251 MB / 0.8094 GB, free: 7.664 MB / 0.6231 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.009431/0.7592, allocations: 5.679 MB / 0.815 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.7614, allocations: 0.8339 MB / 0.8158 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003555/0.765, allocations: 2.173 MB / 0.8179 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.765, allocations: 39.12 kB / 0.818 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006474/0.7657, allocations: 123.1 kB / 0.8181 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 3.246e-06/0.7657, allocations: 0 / 0.8181 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.003715/0.7694, allocations: 1.264 MB / 0.8193 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.7696, allocations: 214.1 kB / 0.8195 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.7719, allocations: 1.53 MB / 0.821 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.7721, allocations: 41.7 kB / 0.8211 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007629/0.7728, allocations: 0.811 MB / 0.8219 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.7731, allocations: 201 kB / 0.822 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.7731, allocations: 16 kB / 0.8221 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7733, allocations: 345.9 kB / 0.8224 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.7741, allocations: 365.8 kB / 0.8227 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.7752, allocations: 0.7013 MB / 0.8234 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.7761, allocations: 454.9 kB / 0.8239 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.7761, allocations: 4 kB / 0.8239 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002733/0.7789, allocations: 1.261 MB / 0.8251 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001339/0.7802, allocations: 3.344 MB / 0.8284 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.7803, allocations: 15.98 kB / 0.8284 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/0.7807, allocations: 96.8 kB / 0.8285 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.7817, allocations: 219.7 kB / 0.8287 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006343/0.7823, allocations: 0.6732 MB / 0.8293 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.7836, allocations: 95.81 kB / 0.8294 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.7837, allocations: 59.97 kB / 0.8295 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.7837, allocations: 4 kB / 0.8295 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002483/0.7862, allocations: 1.156 MB / 0.8306 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.7863, allocations: 15.98 kB / 0.8306 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.7871, allocations: 213 kB / 0.8308 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.7879, allocations: 211.7 kB / 0.831 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006069/0.794, allocations: 3.357 MB / 0.8343 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7954, allocations: 75.95 kB / 0.8344 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.7955, allocations: 59.98 kB / 0.8344 GB, free: 12.65 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.7967, allocations: 0.4929 MB / 0.8349 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.797, allocations: 169.8 kB / 0.8351 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.7999, allocations: 1.221 MB / 0.8363 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.7999, allocations: 8 kB / 0.8363 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8, allocations: 0 / 0.8363 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8, allocations: 3.984 kB / 0.8363 GB, free: 10.74 MB / 0.6544 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.004722/0.8047, allocations: 2.483 MB / 0.8387 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8047, allocations: 3.938 kB / 0.8387 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.8054, allocations: 127.8 kB / 0.8388 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.8058, allocations: 100.8 kB / 0.8389 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.8058, allocations: 43.92 kB / 0.839 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004915/0.8063, allocations: 0.6381 MB / 0.8396 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8064, allocations: 4.031 kB / 0.8396 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.8098, allocations: 1.629 MB / 0.8412 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/0.8106, allocations: 334.8 kB / 0.8415 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.8108, allocations: 20 kB / 0.8415 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.8117, allocations: 87.77 kB / 0.8416 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.8118, allocations: 48.45 kB / 0.8417 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.8119, allocations: 31.97 kB / 0.8417 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001687/0.8136, allocations: 1.033 MB / 0.8427 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8136, allocations: 0 / 0.8427 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003089/0.8167, allocations: 0.9279 MB / 0.8436 GB, free: 3.043 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/0.818, allocations: 0.586 MB / 0.8442 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00373/0.8218, allocations: 1.751 MB / 0.8459 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.8218, allocations: 4.188 kB / 0.8459 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009611/0.8228, allocations: 427.2 kB / 0.8463 GB, free: 260 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.8261, allocations: 0.7275 MB / 0.847 GB, free: 15.53 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.8321, allocations: 3.409 MB / 0.8503 GB, free: 12.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.8333, allocations: 1.415 MB / 0.8517 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002348/0.8356, allocations: 441.5 kB / 0.8521 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.8361, allocations: 143.4 kB / 0.8523 GB, free: 10.05 MB / 0.67 GB Notification: Performance of SimCode: time 2.555e-06/0.8361, allocations: 0 / 0.8523 GB, free: 10.05 MB / 0.67 GB Notification: Performance of Templates: time 0.08118/0.9173, allocations: 35.44 MB / 0.8869 GB, free: 7.051 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: