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.392/1.392, allocations: 249.5 MB / 257 MB, free: 6.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 176.9 kB / 316.3 MB, free: 3.258 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.448/1.448, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009314/0.0009311, allocations: 88.72 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.984e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.652, allocations: 429.3 MB / 1.305 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.652, allocations: 87.17 kB / 1.305 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.349/4.001, allocations: 0.6622 GB / 1.967 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/4.001, allocations: 0 / 1.967 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002299/4.001, allocations: 54.69 kB / 1.967 GB, free: 155.7 MB / 0.8698 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.005105/4.007, allocations: 1.939 MB / 1.969 GB, free: 155 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/4.007, allocations: 7.906 kB / 1.969 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/4.01, allocations: 0.5437 MB / 1.969 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02822/4.038, allocations: 13.69 MB / 1.983 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/4.038, allocations: 31.44 kB / 1.983 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/4.039, allocations: 66.28 kB / 1.983 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001601/4.04, allocations: 0.8514 MB / 1.984 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/4.042, allocations: 1.11 MB / 1.985 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/4.042, allocations: 2.812 kB / 1.985 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/4.042, allocations: 3.562 kB / 1.985 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/4.042, allocations: 22.84 kB / 1.985 GB, free: 153.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.007715/4.05, allocations: 5.458 MB / 1.99 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/4.051, allocations: 0.8573 MB / 1.991 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/4.051, allocations: 356.8 kB / 1.991 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003015/4.054, allocations: 2.192 MB / 1.993 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/4.054, allocations: 42.62 kB / 1.993 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000768/4.055, allocations: 108.2 kB / 1.993 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 2.855e-06/4.055, allocations: 2.969 kB / 1.993 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.003327/4.059, allocations: 1.116 MB / 1.995 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/4.059, allocations: 223.6 kB / 1.995 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/4.06, allocations: 1.183 MB / 1.996 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/4.06, allocations: 29.67 kB / 1.996 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/4.061, allocations: 0.8075 MB / 1.997 GB, free: 149 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/4.061, allocations: 204.1 kB / 1.997 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/4.061, allocations: 4.125 kB / 1.997 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/4.061, allocations: 343.2 kB / 1.997 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/4.062, allocations: 357.9 kB / 1.998 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/4.062, allocations: 0.7264 MB / 1.998 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/4.064, allocations: 0.5493 MB / 1.999 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/4.064, allocations: 3.625 kB / 1.999 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002971/4.067, allocations: 1.373 MB / 2 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007875/4.068, allocations: 3.343 MB / 2.003 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.183e-05/4.068, allocations: 14.95 kB / 2.003 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009279/4.069, allocations: 279.4 kB / 2.004 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/4.07, allocations: 201.6 kB / 2.004 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/4.071, allocations: 1.531 MB / 2.005 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/4.073, allocations: 69.11 kB / 2.006 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/4.073, allocations: 72.59 kB / 2.006 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/4.073, allocations: 7 kB / 2.006 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003119/4.076, allocations: 1.116 MB / 2.007 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/4.076, allocations: 11.19 kB / 2.007 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/4.077, allocations: 292.2 kB / 2.007 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/4.078, allocations: 186.7 kB / 2.007 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/4.083, allocations: 3.829 MB / 2.011 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/4.084, allocations: 63.97 kB / 2.011 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/4.084, allocations: 66.05 kB / 2.011 GB, free: 141.1 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003665/4.085, allocations: 141.7 kB / 2.011 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003042/4.088, allocations: 1.052 MB / 2.012 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/4.088, allocations: 164.9 kB / 2.012 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/4.091, allocations: 1.331 MB / 2.014 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/4.091, allocations: 18.83 kB / 2.014 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/4.091, allocations: 3.953 kB / 2.014 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/4.091, allocations: 6.969 kB / 2.014 GB, free: 140.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004451/4.096, allocations: 2.381 MB / 2.016 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/4.096, allocations: 0.6562 kB / 2.016 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/4.096, allocations: 113.1 kB / 2.016 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/4.097, allocations: 202.1 kB / 2.016 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/4.097, allocations: 21.06 kB / 2.016 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009001/4.098, allocations: 1.374 MB / 2.018 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/4.098, allocations: 3.906 kB / 2.018 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/4.1, allocations: 1.677 MB / 2.019 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/4.101, allocations: 335.7 kB / 2.02 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/4.101, allocations: 6.016 kB / 2.02 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/4.102, allocations: 74.09 kB / 2.02 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/4.102, allocations: 57.03 kB / 2.02 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/4.102, allocations: 37.64 kB / 2.02 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001182/4.103, allocations: 0.8883 MB / 2.021 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.21e-07/4.103, allocations: 6.031 kB / 2.021 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003319/4.107, allocations: 1.022 MB / 2.022 GB, free: 138.3 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005071/4.112, allocations: 3.682 MB / 2.025 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002632/4.114, allocations: 1.759 MB / 2.027 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/4.114, allocations: 0 / 2.027 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006452/4.115, allocations: 422.5 kB / 2.027 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/4.118, allocations: 0.6582 MB / 2.028 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/4.123, allocations: 2.607 MB / 2.031 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/4.124, allocations: 1.425 MB / 2.032 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002235/4.126, allocations: 0.5592 MB / 2.032 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/4.126, allocations: 0.6666 MB / 2.033 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/4.126, allocations: 0 / 2.033 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09088/4.217, allocations: 55.53 MB / 2.087 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/4.218, allocations: 162.5 kB / 2.088 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/8.1, allocations: 4 kB / 2.088 GB, free: 131.7 MB / 0.8698 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)