Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.484/1.484, allocations: 287.4 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 189.1 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007608/0.0007609, allocations: 106.9 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 11.89 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.03879/0.2471, allocations: 46.84 MB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.2728, allocations: 17.76 MB / 1.042 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.2755, allocations: 67.5 kB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.2784, allocations: 0.7609 MB / 1.043 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005908/0.2844, allocations: 1.914 MB / 1.044 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.2921, allocations: 2.64 MB / 1.047 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007236/0.2993, allocations: 5.07 MB / 1.052 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.302, allocations: 1.369 MB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.3062, allocations: 1.458 MB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.309, allocations: 1.233 MB / 1.056 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005107/0.3095, allocations: 72 kB / 1.056 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.3129, allocations: 1.201 MB / 1.057 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009286/0.3138, allocations: 482.2 kB / 1.058 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.3147, allocations: 404.6 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.3183, allocations: 2.603 MB / 1.061 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3183, allocations: 0 / 1.061 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3183, allocations: 4 kB / 1.061 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.839e-05/0.3184, allocations: 0 / 1.061 GB, free: 8.051 MB / 0.6823 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.004311/0.3227, allocations: 2.098 MB / 1.063 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3228, allocations: 8.031 kB / 1.063 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004292/0.3232, allocations: 156.4 kB / 1.063 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.3263, allocations: 0.615 MB / 1.063 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005085/0.3314, allocations: 1.868 MB / 1.065 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.3316, allocations: 86 kB / 1.065 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.332, allocations: 108 kB / 1.065 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.335, allocations: 1.286 MB / 1.067 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.335, allocations: 3.938 kB / 1.067 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.3352, allocations: 51.94 kB / 1.067 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.3352, allocations: 24 kB / 1.067 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.3377, allocations: 0.9524 MB / 1.068 GB, free: 0.6289 MB / 0.6823 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.4529/0.7906, allocations: 5.679 MB / 1.073 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.793, allocations: 0.8427 MB / 1.074 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/0.7939, allocations: 373.2 kB / 1.074 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003541/0.7974, allocations: 2.186 MB / 1.077 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.7975, allocations: 40.42 kB / 1.077 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004981/0.798, allocations: 113.1 kB / 1.077 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=58): time 3.056e-06/0.798, allocations: 0 / 1.077 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58): time 0.003871/0.8019, allocations: 1.3 MB / 1.078 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.802, allocations: 218 kB / 1.078 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.8042, allocations: 1.514 MB / 1.08 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.8043, allocations: 42.91 kB / 1.08 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/0.8049, allocations: 0.8084 MB / 1.08 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.8051, allocations: 205.8 kB / 1.081 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.8052, allocations: 18.12 kB / 1.081 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.8053, allocations: 345.5 kB / 1.081 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009363/0.8062, allocations: 390.8 kB / 1.081 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.8074, allocations: 0.7329 MB / 1.082 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.8093, allocations: 1.039 MB / 1.083 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.8094, allocations: 3.156 kB / 1.083 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002872/0.8122, allocations: 1.292 MB / 1.084 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.8124, allocations: 338.6 kB / 1.085 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.8124, allocations: 14.69 kB / 1.085 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.8129, allocations: 95.53 kB / 1.085 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/0.8139, allocations: 224.2 kB / 1.085 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005241/0.8144, allocations: 0.6678 MB / 1.086 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.8156, allocations: 85.47 kB / 1.086 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.8158, allocations: 62.64 kB / 1.086 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.8158, allocations: 4.031 kB / 1.086 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002678/0.8185, allocations: 1.199 MB / 1.087 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.8185, allocations: 11.36 kB / 1.087 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.8194, allocations: 213.7 kB / 1.087 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.8202, allocations: 208.1 kB / 1.087 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/0.8258, allocations: 3.209 MB / 1.091 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.827, allocations: 79.55 kB / 1.091 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.8271, allocations: 59.42 kB / 1.091 GB, free: 75.69 MB / 0.6823 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.001084/0.8282, allocations: 0.4902 MB / 1.091 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.8285, allocations: 173.1 kB / 1.091 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.8313, allocations: 1.238 MB / 1.093 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.8313, allocations: 8.391 kB / 1.093 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.8314, allocations: 1.062 kB / 1.093 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.8314, allocations: 4.125 kB / 1.093 GB, free: 74.77 MB / 0.6823 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.004855/0.8362, allocations: 2.418 MB / 1.095 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.8363, allocations: 1.375 kB / 1.095 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.8369, allocations: 138.7 kB / 1.095 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/0.8373, allocations: 106.2 kB / 1.095 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.8374, allocations: 22.95 kB / 1.095 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000406/0.8378, allocations: 0.6395 MB / 1.096 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8378, allocations: 6.594 kB / 1.096 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.8411, allocations: 1.61 MB / 1.097 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.8418, allocations: 331.8 kB / 1.098 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.8421, allocations: 14.64 kB / 1.098 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.843, allocations: 81.52 kB / 1.098 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.8432, allocations: 53.47 kB / 1.098 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/0.8433, allocations: 34.5 kB / 1.098 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001999/0.8453, allocations: 1.012 MB / 1.099 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8453, allocations: 1.031 kB / 1.099 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003455/0.8487, allocations: 0.9454 MB / 1.1 GB, free: 71.47 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 (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.005002/0.8537, allocations: 2.599 MB / 1.102 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004313/0.8581, allocations: 1.814 MB / 1.104 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8581, allocations: 0.9375 kB / 1.104 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.8591, allocations: 444.2 kB / 1.105 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/0.8635, allocations: 0.7341 MB / 1.105 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/0.8891, allocations: 10.53 MB / 1.116 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.8905, allocations: 1.379 MB / 1.117 GB, free: 62.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002273/0.8928, allocations: 424.7 kB / 1.117 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/0.8937, allocations: 0.6976 MB / 1.118 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/0.8937, allocations: 0 / 1.118 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6768/1.571, allocations: 51.38 MB / 1.168 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.571, allocations: 247.1 kB / 1.168 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/5.124, allocations: 0 / 1.168 GB, free: 14.86 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)