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.0008478/0.0008478, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005309/0.005309, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.254/1.254, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.585/1.585, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000461/0.0004611, allocations: 12.38 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1772, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0438/0.221, allocations: 49.54 MB / 0.8364 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.2439, allocations: 19.08 MB / 0.855 GB, free: 6.641 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.2457, allocations: 63.56 kB / 0.8551 GB, free: 6.578 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.248, allocations: 0.9717 MB / 0.856 GB, free: 5.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.2529, allocations: 2.221 MB / 0.8582 GB, free: 3.375 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0063/0.2592, allocations: 3.003 MB / 0.8611 GB, free: 408 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005647/0.2648, allocations: 5.864 MB / 0.8668 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.2666, allocations: 1.404 MB / 0.8682 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.269, allocations: 1.505 MB / 0.8697 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.2704, allocations: 1.306 MB / 0.871 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.2706, allocations: 72 kB / 0.871 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.2733, allocations: 1.555 MB / 0.8725 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.2738, allocations: 0.4942 MB / 0.873 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008017/0.2746, allocations: 0.9378 MB / 0.8739 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.2779, allocations: 3.403 MB / 0.8773 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2779, allocations: 0 / 0.8773 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2779, allocations: 0 / 0.8773 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.2779, allocations: 0 / 0.8773 GB, free: 15.76 MB / 0.7012 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.003194/0.2811, allocations: 2.1 MB / 0.8793 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2812, allocations: 8.031 kB / 0.8793 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.2813, allocations: 156.4 kB / 0.8795 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.2841, allocations: 0.6111 MB / 0.8801 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.2876, allocations: 1.87 MB / 0.8819 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.2877, allocations: 93.98 kB / 0.882 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.2879, allocations: 112 kB / 0.8821 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.2901, allocations: 1.29 MB / 0.8833 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2901, allocations: 0 / 0.8833 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2902, allocations: 47.98 kB / 0.8834 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.2903, allocations: 24 kB / 0.8834 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.2924, allocations: 0.964 MB / 0.8844 GB, free: 8.32 MB / 0.7012 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.006668/0.299, allocations: 5.683 MB / 0.8899 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3011, allocations: 0.8575 MB / 0.8907 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.3019, allocations: 374.3 kB / 0.8911 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002571/0.3044, allocations: 2.188 MB / 0.8932 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3045, allocations: 39.12 kB / 0.8933 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003756/0.3049, allocations: 115.2 kB / 0.8934 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 1.844e-06/0.3049, allocations: 0 / 0.8934 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.003307/0.3082, allocations: 1.299 MB / 0.8947 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.3083, allocations: 214.1 kB / 0.8949 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.31, allocations: 1.534 MB / 0.8964 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.3101, allocations: 41.7 kB / 0.8964 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/0.3108, allocations: 0.811 MB / 0.8972 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.3109, allocations: 205 kB / 0.8974 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3111, allocations: 93.66 kB / 0.8975 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3112, allocations: 337.9 kB / 0.8978 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/0.3122, allocations: 469.7 kB / 0.8982 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.3134, allocations: 0.7989 MB / 0.899 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.3155, allocations: 1.199 MB / 0.9002 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3155, allocations: 3.938 kB / 0.9002 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003128/0.3186, allocations: 1.484 MB / 0.9016 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.3188, allocations: 329.9 kB / 0.902 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.3189, allocations: 19.92 kB / 0.902 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/0.3194, allocations: 140.8 kB / 0.9021 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.3203, allocations: 227.7 kB / 0.9023 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.3209, allocations: 0.6576 MB / 0.903 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.3222, allocations: 83.98 kB / 0.9031 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3223, allocations: 63.97 kB / 0.9031 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.3223, allocations: 8 kB / 0.9031 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002565/0.3249, allocations: 1.207 MB / 0.9043 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3249, allocations: 12 kB / 0.9043 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/0.3258, allocations: 209.1 kB / 0.9045 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.3266, allocations: 215.6 kB / 0.9047 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.3322, allocations: 3.223 MB / 0.9079 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.3333, allocations: 79.94 kB / 0.9079 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.3334, allocations: 59.97 kB / 0.908 GB, free: 14.75 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 (106): * Single equations (assignments): 99 * 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.0009256/0.3344, allocations: 492.8 kB / 0.9085 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.3346, allocations: 169.8 kB / 0.9086 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.3374, allocations: 1.237 MB / 0.9098 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3374, allocations: 8 kB / 0.9098 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3374, allocations: 0 / 0.9098 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3374, allocations: 11.86 kB / 0.9099 GB, free: 12.82 MB / 0.7325 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.004295/0.3417, allocations: 2.422 MB / 0.9122 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3417, allocations: 0 / 0.9122 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.3424, allocations: 131.8 kB / 0.9124 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/0.3427, allocations: 104.6 kB / 0.9125 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.3428, allocations: 28.09 kB / 0.9125 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004796/0.3433, allocations: 0.6383 MB / 0.9131 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3433, allocations: 3.984 kB / 0.9131 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.3465, allocations: 1.623 MB / 0.9147 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.3469, allocations: 330.7 kB / 0.915 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3471, allocations: 16 kB / 0.915 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.3479, allocations: 79.92 kB / 0.9151 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.348, allocations: 44.5 kB / 0.9151 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.3481, allocations: 31.97 kB / 0.9152 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001358/0.3494, allocations: 1.037 MB / 0.9162 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3494, allocations: 0 / 0.9162 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002516/0.352, allocations: 0.9473 MB / 0.9171 GB, free: 5.25 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 (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.004652/0.3566, allocations: 2.628 MB / 0.9197 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003587/0.3602, allocations: 1.892 MB / 0.9215 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3603, allocations: 64 / 0.9215 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009476/0.3612, allocations: 447 kB / 0.9219 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3215/0.6827, allocations: 0.7331 MB / 0.9227 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/0.7054, allocations: 14.04 MB / 0.9364 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.7064, allocations: 1.382 MB / 0.9377 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001787/0.7082, allocations: 424.9 kB / 0.9381 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/0.709, allocations: 0.6963 MB / 0.9388 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.709, allocations: 1.312 kB / 0.9388 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.134/1.843, allocations: 48.38 MB / 0.9861 GB, free: 93.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.843, allocations: 275 kB / 0.9863 GB, free: 93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/5.49, allocations: 0 / 0.9863 GB, free: 93 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/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)