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.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001096/0.001096, allocations: 184.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009779/0.0009779, allocations: 94.45 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.228, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.03418/0.2622, allocations: 42.73 MB / 0.9419 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.2833, allocations: 16.64 MB / 0.9581 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.2864, allocations: 59.56 kB / 0.9582 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.2898, allocations: 0.9253 MB / 0.9591 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007477/0.2973, allocations: 2.345 MB / 0.9614 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00957/0.3068, allocations: 2.949 MB / 0.9643 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007882/0.3147, allocations: 2.704 MB / 0.9669 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.3177, allocations: 1.26 MB / 0.9681 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.3211, allocations: 1.296 MB / 0.9694 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.3227, allocations: 0.8865 MB / 0.9703 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.3229, allocations: 68 kB / 0.9703 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.3259, allocations: 1.19 MB / 0.9715 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.3265, allocations: 446.4 kB / 0.9719 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005612/0.327, allocations: 408.6 kB / 0.9723 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.3305, allocations: 2.541 MB / 0.9748 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3305, allocations: 0 / 0.9748 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3305, allocations: 0 / 0.9748 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.953e-05/0.3305, allocations: 0 / 0.9748 GB, free: 3.238 MB / 0.6198 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.00409/0.3346, allocations: 2.1 MB / 0.9768 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.3347, allocations: 8.031 kB / 0.9768 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.3349, allocations: 160.2 kB / 0.977 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.338, allocations: 0.6219 MB / 0.9776 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.3422, allocations: 1.813 MB / 0.9794 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.3423, allocations: 89.94 kB / 0.9795 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.3425, allocations: 112 kB / 0.9796 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.3449, allocations: 1.263 MB / 0.9808 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3449, allocations: 0 / 0.9808 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3451, allocations: 40 kB / 0.9808 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3451, allocations: 28 kB / 0.9809 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.3473, allocations: 0.9289 MB / 0.9818 GB, free: 11.91 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.008025/0.3553, allocations: 5.683 MB / 0.9873 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.3575, allocations: 0.8353 MB / 0.9881 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003205/0.3608, allocations: 2.169 MB / 0.9903 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3608, allocations: 43.06 kB / 0.9903 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004259/0.3612, allocations: 123.1 kB / 0.9904 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=58): time 2.285e-06/0.3613, allocations: 0 / 0.9904 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58): time 0.003474/0.3647, allocations: 1.253 MB / 0.9916 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.3649, allocations: 214.2 kB / 0.9918 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.3668, allocations: 1.534 MB / 0.9933 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.3669, allocations: 41.7 kB / 0.9934 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.3676, allocations: 0.8149 MB / 0.9942 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.3678, allocations: 205 kB / 0.9944 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.3679, allocations: 16 kB / 0.9944 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.368, allocations: 341.9 kB / 0.9947 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.3689, allocations: 369.8 kB / 0.9951 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.37, allocations: 0.7052 MB / 0.9958 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.371, allocations: 451 kB / 0.9962 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.371, allocations: 4 kB / 0.9962 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002585/0.3736, allocations: 1.262 MB / 0.9974 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.3748, allocations: 3.34 MB / 1.001 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.3748, allocations: 15.98 kB / 1.001 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.3753, allocations: 96.78 kB / 1.001 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/0.3762, allocations: 223.7 kB / 1.001 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000644/0.3769, allocations: 0.6615 MB / 1.002 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.378, allocations: 87.91 kB / 1.002 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.3782, allocations: 64.03 kB / 1.002 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3782, allocations: 4 kB / 1.002 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002688/0.3809, allocations: 1.164 MB / 1.003 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.381, allocations: 12 kB / 1.003 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009164/0.3819, allocations: 213 kB / 1.003 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.3827, allocations: 211.6 kB / 1.003 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.3891, allocations: 3.352 MB / 1.007 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.3904, allocations: 79.95 kB / 1.007 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.3906, allocations: 59.97 kB / 1.007 GB, free: 0.8906 MB / 0.6511 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.001269/0.3919, allocations: 0.4979 MB / 1.007 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/0.3924, allocations: 165.8 kB / 1.007 GB, free: 228 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.396, allocations: 1.221 MB / 1.009 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.396, allocations: 11.98 kB / 1.009 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3961, allocations: 0 / 1.009 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.3961, allocations: 7.984 kB / 1.009 GB, free: 14.98 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.006261/0.4023, allocations: 2.475 MB / 1.011 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.4024, allocations: 4.125 kB / 1.011 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/0.4031, allocations: 135.8 kB / 1.011 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.4035, allocations: 100.7 kB / 1.011 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.4035, allocations: 31.92 kB / 1.011 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005127/0.4041, allocations: 0.6382 MB / 1.012 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4041, allocations: 7.969 kB / 1.012 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.4076, allocations: 1.633 MB / 1.014 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/0.4084, allocations: 330.8 kB / 1.014 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/0.4088, allocations: 20 kB / 1.014 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.4098, allocations: 87.77 kB / 1.014 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.41, allocations: 52.33 kB / 1.014 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/0.4101, allocations: 39.97 kB / 1.014 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001886/0.4119, allocations: 1.033 MB / 1.015 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.31e-07/0.412, allocations: 0 / 1.015 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003887/0.4159, allocations: 0.9318 MB / 1.016 GB, free: 7.273 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.005939/0.4218, allocations: 2.898 MB / 1.019 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004201/0.426, allocations: 1.759 MB / 1.02 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.426, allocations: 0 / 1.02 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.427, allocations: 427.5 kB / 1.021 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.4306, allocations: 0.7331 MB / 1.022 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.4422, allocations: 9.821 MB / 1.031 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.4438, allocations: 1.419 MB / 1.033 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002245/0.4461, allocations: 425.7 kB / 1.033 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.4473, allocations: 0.7062 MB / 1.034 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/0.4473, allocations: 3.938 kB / 1.034 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5676/1.015, allocations: 50.59 MB / 1.083 GB, free: 133 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/1.015, allocations: 259.4 kB / 1.083 GB, free: 132.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/4.776, allocations: 0 / 1.083 GB, free: 132.7 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)