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 2.443/2.443, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001555/0.001555, allocations: 188.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 86.09 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.995e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7964, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/2.11, allocations: 435.8 MB / 1.389 GB, free: 133 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/2.11, allocations: 95.02 kB / 1.389 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.669/5.779, allocations: 0.6804 GB / 2.069 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.114e-06/5.779, allocations: 2.375 kB / 2.069 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003654/5.779, allocations: 51.17 kB / 2.069 GB, free: 146.2 MB / 0.9323 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.00637/5.785, allocations: 1.946 MB / 2.071 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/5.785, allocations: 11.38 kB / 2.071 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/5.791, allocations: 0.5377 MB / 2.072 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04709/5.838, allocations: 14.03 MB / 2.086 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/5.838, allocations: 32.62 kB / 2.086 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/5.839, allocations: 67.94 kB / 2.086 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002571/5.841, allocations: 0.8533 MB / 2.087 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/5.844, allocations: 1.108 MB / 2.088 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/5.844, allocations: 3.719 kB / 2.088 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/5.844, allocations: 3.438 kB / 2.088 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/5.844, allocations: 24.53 kB / 2.088 GB, free: 144.3 MB / 0.9323 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.01273/5.857, allocations: 5.458 MB / 2.093 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/5.859, allocations: 0.8443 MB / 2.094 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/5.86, allocations: 363.3 kB / 2.094 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005036/5.865, allocations: 2.216 MB / 2.096 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/5.865, allocations: 44.34 kB / 2.096 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001028/5.866, allocations: 106.5 kB / 2.096 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=62): time 5.019e-06/5.866, allocations: 0 / 2.096 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=62): time 0.005599/5.872, allocations: 1.126 MB / 2.098 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/5.872, allocations: 223.5 kB / 2.098 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/5.875, allocations: 1.181 MB / 2.099 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/5.875, allocations: 29.5 kB / 2.099 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/5.876, allocations: 0.7972 MB / 2.1 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/5.876, allocations: 213.7 kB / 2.1 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/5.876, allocations: 2.438 kB / 2.1 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/5.876, allocations: 339.8 kB / 2.1 GB, free: 139 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008218/5.877, allocations: 360.5 kB / 2.101 GB, free: 139 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/5.878, allocations: 0.7298 MB / 2.101 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/5.881, allocations: 0.5424 MB / 2.102 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/5.881, allocations: 7.031 kB / 2.102 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005189/5.886, allocations: 1.374 MB / 2.103 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007289/5.887, allocations: 3.338 MB / 2.106 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-05/5.887, allocations: 13 kB / 2.107 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/5.888, allocations: 287.5 kB / 2.107 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/5.89, allocations: 201.1 kB / 2.107 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/5.892, allocations: 1.518 MB / 2.108 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/5.894, allocations: 70.97 kB / 2.109 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/5.895, allocations: 78.45 kB / 2.109 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/5.895, allocations: 3.281 kB / 2.109 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004565/5.899, allocations: 1.116 MB / 2.11 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.103e-05/5.899, allocations: 10.38 kB / 2.11 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/5.901, allocations: 298.4 kB / 2.11 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/5.902, allocations: 190.3 kB / 2.11 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008866/5.911, allocations: 3.823 MB / 2.114 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/5.913, allocations: 65.19 kB / 2.114 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/5.913, allocations: 66.12 kB / 2.114 GB, free: 131.5 MB / 0.9323 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.0004744/5.914, allocations: 141 kB / 2.114 GB, free: 131.4 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005318/5.919, allocations: 1.054 MB / 2.115 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/5.92, allocations: 164 kB / 2.115 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006461/5.926, allocations: 1.327 MB / 2.117 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/5.926, allocations: 10.47 kB / 2.117 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/5.926, allocations: 7.781 kB / 2.117 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/5.926, allocations: 7.547 kB / 2.117 GB, free: 131.1 MB / 0.9323 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.009212/5.936, allocations: 2.401 MB / 2.119 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/5.936, allocations: 3.562 kB / 2.119 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/5.937, allocations: 111.3 kB / 2.119 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008124/5.938, allocations: 201.9 kB / 2.119 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/5.938, allocations: 14.14 kB / 2.119 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/5.939, allocations: 1.377 MB / 2.121 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/5.939, allocations: 0 / 2.121 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/5.945, allocations: 1.682 MB / 2.122 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/5.946, allocations: 330.3 kB / 2.123 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/5.946, allocations: 7.391 kB / 2.123 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/5.948, allocations: 70.31 kB / 2.123 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/5.948, allocations: 49.53 kB / 2.123 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/5.948, allocations: 43.3 kB / 2.123 GB, free: 129 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001783/5.95, allocations: 0.8886 MB / 2.124 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.52e-07/5.95, allocations: 7.109 kB / 2.124 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005301/5.955, allocations: 1.033 MB / 2.125 GB, free: 128.7 MB / 0.9323 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.008387/5.964, allocations: 3.705 MB / 2.128 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004394/5.968, allocations: 1.752 MB / 2.13 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/5.968, allocations: 0 / 2.13 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/5.969, allocations: 420.9 kB / 2.13 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00513/5.974, allocations: 0.667 MB / 2.131 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008002/5.982, allocations: 2.615 MB / 2.134 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/5.984, allocations: 1.423 MB / 2.135 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0039/5.988, allocations: 0.5572 MB / 2.136 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/5.989, allocations: 0.6735 MB / 2.136 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.242e-06/5.989, allocations: 0 / 2.136 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/6.137, allocations: 55.74 MB / 2.191 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/6.137, allocations: 162.6 kB / 2.191 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.867/11, allocations: 0 / 2.191 GB, free: 118.9 MB / 0.9323 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)