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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 252 MB / 267 MB, free: 10.98 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.001026/0.001026, allocations: 187.1 kB / 326.6 MB, free: 2.211 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.964/1.964, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0008356/0.0008358, allocations: 90.09 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003926, allocations: 9.5 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2507, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0369/0.2876, allocations: 46.83 MB / 0.946 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.3106, allocations: 17.73 MB / 0.9633 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003543/0.3141, allocations: 59.56 kB / 0.9634 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.3176, allocations: 0.7648 MB / 0.9641 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007154/0.3248, allocations: 1.916 MB / 0.966 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009518/0.3344, allocations: 2.623 MB / 0.9686 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008927/0.3433, allocations: 5.017 MB / 0.9735 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003589/0.3469, allocations: 1.241 MB / 0.9747 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.3516, allocations: 1.435 MB / 0.9761 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.3549, allocations: 1.237 MB / 0.9773 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008003/0.3557, allocations: 68 kB / 0.9774 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.3599, allocations: 1.181 MB / 0.9785 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.3612, allocations: 490.2 kB / 0.979 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.3624, allocations: 408.6 kB / 0.9794 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00473/0.3672, allocations: 2.568 MB / 0.9819 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3672, allocations: 0 / 0.9819 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.736e-06/0.3672, allocations: 0 / 0.9819 GB, free: 12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001208/0.3673, allocations: 0 / 0.9819 GB, free: 12 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.005584/0.3729, allocations: 2.102 MB / 0.9839 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/0.373, allocations: 12.03 kB / 0.9839 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006345/0.3736, allocations: 160.2 kB / 0.9841 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.3773, allocations: 0.6141 MB / 0.9847 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/0.3829, allocations: 1.805 MB / 0.9865 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3831, allocations: 86 kB / 0.9865 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.3836, allocations: 112 kB / 0.9867 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.3872, allocations: 1.282 MB / 0.9879 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3873, allocations: 8 kB / 0.9879 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3874, allocations: 43.98 kB / 0.988 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.3875, allocations: 27.98 kB / 0.988 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.3902, allocations: 0.9485 MB / 0.9889 GB, free: 4.633 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.01086/0.401, allocations: 5.676 MB / 0.9944 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.4035, allocations: 0.8665 MB / 0.9953 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009245/0.4044, allocations: 366.3 kB / 0.9956 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004108/0.4086, allocations: 2.177 MB / 0.9978 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.4086, allocations: 43.06 kB / 0.9978 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008827/0.4095, allocations: 111.3 kB / 0.9979 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.699e-06/0.4096, allocations: 4 kB / 0.9979 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.004207/0.4138, allocations: 1.291 MB / 0.9992 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.4139, allocations: 222.2 kB / 0.9994 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.4169, allocations: 1.506 MB / 1.001 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.417, allocations: 45.7 kB / 1.001 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/0.4179, allocations: 0.8109 MB / 1.002 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.4181, allocations: 205 kB / 1.002 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.4182, allocations: 16 kB / 1.002 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4184, allocations: 345.9 kB / 1.002 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009986/0.4194, allocations: 381.8 kB / 1.003 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4207, allocations: 0.7247 MB / 1.003 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.4218, allocations: 463 kB / 1.004 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.4219, allocations: 4 kB / 1.004 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00318/0.425, allocations: 1.285 MB / 1.005 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.4254, allocations: 334.1 kB / 1.005 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/0.4255, allocations: 12 kB / 1.005 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.426, allocations: 96.78 kB / 1.005 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/0.427, allocations: 219.7 kB / 1.006 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007717/0.4278, allocations: 0.6616 MB / 1.006 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.4293, allocations: 87.98 kB / 1.006 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.4295, allocations: 63.95 kB / 1.006 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4295, allocations: 10.91 kB / 1.006 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002876/0.4324, allocations: 1.172 MB / 1.008 GB, free: 468 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.4324, allocations: 19.97 kB / 1.008 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009668/0.4334, allocations: 212.7 kB / 1.008 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.4342, allocations: 211.6 kB / 1.008 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006256/0.4405, allocations: 3.22 MB / 1.011 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4419, allocations: 76 kB / 1.011 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.4421, allocations: 51.98 kB / 1.011 GB, free: 12.46 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 (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.001252/0.4434, allocations: 0.4928 MB / 1.012 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.4439, allocations: 165.9 kB / 1.012 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.4473, allocations: 1.236 MB / 1.013 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.4473, allocations: 8 kB / 1.013 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4473, allocations: 3.938 kB / 1.013 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4473, allocations: 7.984 kB / 1.013 GB, free: 10.54 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.005444/0.4528, allocations: 2.402 MB / 1.015 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4528, allocations: 4 kB / 1.015 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.4535, allocations: 127.8 kB / 1.016 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.4539, allocations: 108.8 kB / 1.016 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.454, allocations: 27.98 kB / 1.016 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005303/0.4545, allocations: 0.6382 MB / 1.016 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.4545, allocations: 7.969 kB / 1.016 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/0.4582, allocations: 1.612 MB / 1.018 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008748/0.4591, allocations: 322.8 kB / 1.018 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.4594, allocations: 20 kB / 1.018 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.4606, allocations: 83.81 kB / 1.018 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4607, allocations: 52.44 kB / 1.018 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.4608, allocations: 31.97 kB / 1.018 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002029/0.4628, allocations: 1.014 MB / 1.019 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4628, allocations: 0 / 1.019 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003872/0.4667, allocations: 0.9278 MB / 1.02 GB, free: 3.02 MB / 0.6667 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.005755/0.4725, allocations: 2.599 MB / 1.023 GB, free: 396 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.4767, allocations: 1.782 MB / 1.025 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.4768, allocations: 8.312 kB / 1.025 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4778, allocations: 446.9 kB / 1.025 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/0.4821, allocations: 0.7332 MB / 1.026 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/0.5124, allocations: 10.48 MB / 1.036 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.5141, allocations: 1.384 MB / 1.037 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002417/0.5166, allocations: 421.7 kB / 1.038 GB, free: 456 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.5178, allocations: 0.7024 MB / 1.038 GB, free: 15.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/0.5179, allocations: 0 / 1.038 GB, free: 15.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.713/2.231, allocations: 51.11 MB / 1.088 GB, free: 129.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/2.231, allocations: 250.6 kB / 1.089 GB, free: 129.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/6.143, allocations: 0 / 1.089 GB, free: 129.5 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)