Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008836, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009552/0.0009554, allocations: 168.7 kB / 15.95 MB, free: 204 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.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005793/0.0005798, allocations: 19.09 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2685, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05242/0.321, allocations: 46.82 MB / 0.8331 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02915/0.3502, allocations: 17.77 MB / 0.8505 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.3536, allocations: 63.56 kB / 0.8505 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.3568, allocations: 0.7609 MB / 0.8513 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006786/0.3637, allocations: 1.913 MB / 0.8531 GB, free: 8.344 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009498/0.3732, allocations: 2.631 MB / 0.8557 GB, free: 5.742 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00839/0.3816, allocations: 5.016 MB / 0.8606 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.3844, allocations: 1.252 MB / 0.8618 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.3883, allocations: 1.451 MB / 0.8632 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.3909, allocations: 1.229 MB / 0.8644 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003224/0.3912, allocations: 68 kB / 0.8645 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.3946, allocations: 1.209 MB / 0.8657 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006294/0.3953, allocations: 482.2 kB / 0.8662 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007467/0.396, allocations: 404.6 kB / 0.8665 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.3997, allocations: 2.599 MB / 0.8691 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3997, allocations: 0 / 0.8691 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3997, allocations: 4 kB / 0.8691 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.041e-05/0.3997, allocations: 0 / 0.8691 GB, free: 7.977 MB / 0.6856 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.004169/0.4039, allocations: 2.12 MB / 0.8711 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.404, allocations: 8.031 kB / 0.8712 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.4042, allocations: 156.2 kB / 0.8713 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.4069, allocations: 0.6141 MB / 0.8719 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.4109, allocations: 1.797 MB / 0.8737 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/0.411, allocations: 86 kB / 0.8737 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.4112, allocations: 115.9 kB / 0.8739 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.4135, allocations: 1.282 MB / 0.8751 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4135, allocations: 0 / 0.8751 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4136, allocations: 48 kB / 0.8752 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.4137, allocations: 27.94 kB / 0.8752 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.4158, allocations: 0.9524 MB / 0.8761 GB, free: 0.6055 MB / 0.6856 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.007317/0.4231, allocations: 5.691 MB / 0.8817 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.4251, allocations: 0.8419 MB / 0.8825 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.4259, allocations: 376.4 kB / 0.8828 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00391/0.4298, allocations: 2.18 MB / 0.885 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.4299, allocations: 43.12 kB / 0.885 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007643/0.4307, allocations: 115.2 kB / 0.8851 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=58): time 3.306e-06/0.4307, allocations: 4 kB / 0.8851 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of matching and sorting (n=58): time 0.003619/0.4343, allocations: 1.295 MB / 0.8864 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4344, allocations: 218.2 kB / 0.8866 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.4365, allocations: 1.506 MB / 0.8881 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.4366, allocations: 49.7 kB / 0.8881 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.4373, allocations: 0.8031 MB / 0.8889 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.4375, allocations: 209 kB / 0.8891 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.4375, allocations: 16 kB / 0.8891 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4377, allocations: 341.9 kB / 0.8894 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.4385, allocations: 389.7 kB / 0.8898 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4397, allocations: 0.7364 MB / 0.8905 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.4406, allocations: 466.9 kB / 0.891 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.4406, allocations: 11.95 kB / 0.891 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002627/0.4433, allocations: 1.293 MB / 0.8923 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.4435, allocations: 342.1 kB / 0.8926 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.4435, allocations: 12 kB / 0.8926 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.444, allocations: 96.78 kB / 0.8927 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.4448, allocations: 219.7 kB / 0.8929 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005671/0.4454, allocations: 0.6769 MB / 0.8936 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4466, allocations: 84 kB / 0.8936 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4467, allocations: 59.97 kB / 0.8937 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4467, allocations: 4 kB / 0.8937 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002362/0.4491, allocations: 1.191 MB / 0.8949 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4491, allocations: 12 kB / 0.8949 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007931/0.4499, allocations: 217 kB / 0.8951 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.4507, allocations: 207.7 kB / 0.8953 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/0.456, allocations: 3.22 MB / 0.8984 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.4573, allocations: 83.91 kB / 0.8985 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4574, allocations: 51.98 kB / 0.8986 GB, free: 8.379 MB / 0.7169 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 (106): * Single equations (assignments): 99 * 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.001019/0.4584, allocations: 0.4967 MB / 0.899 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4587, allocations: 161.9 kB / 0.8992 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.4613, allocations: 1.248 MB / 0.9004 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4613, allocations: 4 kB / 0.9004 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4614, allocations: 7.984 kB / 0.9004 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4614, allocations: 0 / 0.9004 GB, free: 6.438 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 postOpt removeSimpleEquations (simulation): time 0.004518/0.4659, allocations: 2.399 MB / 0.9028 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4659, allocations: 4 kB / 0.9028 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.4665, allocations: 135.8 kB / 0.9029 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000331/0.4669, allocations: 108.6 kB / 0.903 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.467, allocations: 27.97 kB / 0.903 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005065/0.4675, allocations: 0.646 MB / 0.9037 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4675, allocations: 4 kB / 0.9037 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/0.4705, allocations: 1.608 MB / 0.9052 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.4712, allocations: 330.8 kB / 0.9055 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4713, allocations: 19.98 kB / 0.9056 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.4721, allocations: 75.88 kB / 0.9056 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.4722, allocations: 56.44 kB / 0.9057 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.4723, allocations: 27.98 kB / 0.9057 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001524/0.4738, allocations: 1.014 MB / 0.9067 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4738, allocations: 0 / 0.9067 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003005/0.4768, allocations: 0.9395 MB / 0.9076 GB, free: 14.91 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 (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.004726/0.4816, allocations: 2.611 MB / 0.9102 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003669/0.4853, allocations: 1.805 MB / 0.9119 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.4853, allocations: 4 kB / 0.9119 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.4862, allocations: 444.8 kB / 0.9124 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/0.4896, allocations: 0.7512 MB / 0.9131 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4661/0.9558, allocations: 10.51 MB / 0.9234 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.9571, allocations: 1.384 MB / 0.9247 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002008/0.9591, allocations: 423.5 kB / 0.9251 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009993/0.9601, allocations: 0.7005 MB / 0.9258 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.9601, allocations: 0.875 kB / 0.9258 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.064, allocations: 51.36 MB / 0.976 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/1.064, allocations: 249.5 kB / 0.9762 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/4.263, allocations: 0 / 0.9762 GB, free: 101.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) Environment - environmentSimulation: