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.473/1.473, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009675/0.0009675, allocations: 177.1 kB / 325.8 MB, free: 2.684 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.507/1.507, allocations: 205 MB / 0.576 GB, free: 20.54 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.0006937/0.0006937, allocations: 89.23 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 15.14 kB / 0.7932 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1734, allocations: 105.4 MB / 0.8962 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.03306/0.2066, allocations: 50.23 MB / 0.9453 GB, free: 17.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.2273, allocations: 19.28 MB / 0.9641 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.2296, allocations: 71.56 kB / 0.9641 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.2321, allocations: 0.9755 MB / 0.9651 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.2374, allocations: 2.215 MB / 0.9673 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.2445, allocations: 2.996 MB / 0.9702 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006109/0.2506, allocations: 5.869 MB / 0.9759 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.2524, allocations: 1.379 MB / 0.9773 GB, free: 304 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.2552, allocations: 1.505 MB / 0.9787 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.2569, allocations: 1.31 MB / 0.98 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.2571, allocations: 72 kB / 0.9801 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.2601, allocations: 1.493 MB / 0.9815 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.2606, allocations: 498.1 kB / 0.982 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.2615, allocations: 0.9205 MB / 0.9829 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.2653, allocations: 3.368 MB / 0.9862 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2653, allocations: 0 / 0.9862 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2653, allocations: 0 / 0.9862 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.769e-05/0.2653, allocations: 0 / 0.9862 GB, free: 7.109 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.003395/0.2687, allocations: 2.086 MB / 0.9882 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2688, allocations: 8.031 kB / 0.9882 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.269, allocations: 156.4 kB / 0.9884 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.2719, allocations: 0.6189 MB / 0.989 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.2756, allocations: 1.867 MB / 0.9908 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.2756, allocations: 82 kB / 0.9909 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.2759, allocations: 119.9 kB / 0.991 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.2789, allocations: 1.29 MB / 0.9923 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.279, allocations: 0 / 0.9923 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.2791, allocations: 48 kB / 0.9923 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.2791, allocations: 24 kB / 0.9923 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.2814, allocations: 0.9602 MB / 0.9933 GB, free: 15.68 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.007756/0.2891, allocations: 5.691 MB / 0.9988 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.2913, allocations: 0.8432 MB / 0.9997 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007822/0.2921, allocations: 374.3 kB / 1 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00298/0.2951, allocations: 2.173 MB / 1.002 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.2951, allocations: 43.11 kB / 1.002 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004872/0.2956, allocations: 115.2 kB / 1.002 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.719e-06/0.2957, allocations: 4 kB / 1.002 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.003619/0.2993, allocations: 1.307 MB / 1.004 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.2994, allocations: 210.2 kB / 1.004 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.3012, allocations: 1.53 MB / 1.005 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.3013, allocations: 41.7 kB / 1.005 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.3019, allocations: 0.8071 MB / 1.006 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.3021, allocations: 205 kB / 1.006 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.3022, allocations: 93.66 kB / 1.006 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3024, allocations: 341.9 kB / 1.007 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/0.3033, allocations: 465.7 kB / 1.007 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.3045, allocations: 0.7911 MB / 1.008 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.3066, allocations: 1.188 MB / 1.009 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3067, allocations: 4 kB / 1.009 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002758/0.3094, allocations: 1.457 MB / 1.011 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.3096, allocations: 342.1 kB / 1.011 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.3097, allocations: 16 kB / 1.011 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.3102, allocations: 148.7 kB / 1.011 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/0.3111, allocations: 215.7 kB / 1.011 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/0.3117, allocations: 0.6693 MB / 1.012 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3127, allocations: 87.91 kB / 1.012 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.3129, allocations: 63.95 kB / 1.012 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3129, allocations: 4 kB / 1.012 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002641/0.3155, allocations: 1.191 MB / 1.013 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.3156, allocations: 12 kB / 1.013 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008899/0.3165, allocations: 209.1 kB / 1.013 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.3172, allocations: 207.7 kB / 1.014 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.3226, allocations: 3.212 MB / 1.017 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.3235, allocations: 91.77 kB / 1.017 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.988e-05/0.3236, allocations: 59.98 kB / 1.017 GB, free: 6.16 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.0007893/0.3244, allocations: 496.8 kB / 1.017 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.3247, allocations: 165.9 kB / 1.017 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.3274, allocations: 1.24 MB / 1.019 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.3274, allocations: 8 kB / 1.019 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3274, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3274, allocations: 7.922 kB / 1.019 GB, free: 4.238 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.004245/0.3317, allocations: 2.41 MB / 1.021 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3317, allocations: 0 / 1.021 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.3324, allocations: 132 kB / 1.021 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/0.3327, allocations: 108.6 kB / 1.021 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.3328, allocations: 27.98 kB / 1.021 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004682/0.3332, allocations: 0.6382 MB / 1.022 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3333, allocations: 8.047 kB / 1.022 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.3364, allocations: 1.623 MB / 1.024 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.3369, allocations: 326.8 kB / 1.024 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.3371, allocations: 20 kB / 1.024 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.3379, allocations: 71.92 kB / 1.024 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.338, allocations: 48.5 kB / 1.024 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.3381, allocations: 35.97 kB / 1.024 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001326/0.3394, allocations: 1.029 MB / 1.025 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3394, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002615/0.342, allocations: 0.9316 MB / 1.026 GB, free: 12.69 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.006953/0.349, allocations: 2.615 MB / 1.028 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00579/0.3548, allocations: 1.871 MB / 1.03 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3549, allocations: 0 / 1.03 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.3564, allocations: 448.7 kB / 1.031 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/0.3617, allocations: 0.7381 MB / 1.031 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03916/0.4009, allocations: 13.92 MB / 1.045 GB, free: 8.262 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.4024, allocations: 1.38 MB / 1.046 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002753/0.4052, allocations: 425.7 kB / 1.047 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/0.4065, allocations: 0.6945 MB / 1.047 GB, free: 5.734 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/0.4066, allocations: 0 / 1.047 GB, free: 5.734 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/1.477, allocations: 48.16 MB / 1.095 GB, free: 126.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.477, allocations: 274.9 kB / 1.095 GB, free: 125.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/5.074, allocations: 3.938 kB / 1.095 GB, free: 125.8 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)