Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5036/0.5036, allocations: 90.8 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009152, allocations: 101.8 kB / 421.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.244e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9425/1.286, allocations: 388.6 MB / 0.9398 GB, free: 230.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.287, allocations: 89.09 kB / 0.9399 GB, free: 230.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.53/4.817, allocations: 1.067 GB / 2.007 GB, free: 51.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/4.817, allocations: 1.5 kB / 2.007 GB, free: 51.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004376/4.818, allocations: 81.16 kB / 2.007 GB, free: 51.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009192/4.827, allocations: 3.219 MB / 2.01 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/4.827, allocations: 7.438 kB / 2.01 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/4.828, allocations: 326 kB / 2.011 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008998/4.837, allocations: 1.216 MB / 2.012 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/4.846, allocations: 3.319 MB / 2.015 GB, free: 48.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/4.846, allocations: 245.2 kB / 2.015 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008865/4.847, allocations: 232.5 kB / 2.016 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006703/4.854, allocations: 2.838 MB / 2.018 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/4.854, allocations: 6.469 kB / 2.018 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005591/4.854, allocations: 101.4 kB / 2.019 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/4.855, allocations: 96.8 kB / 2.019 GB, free: 48.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/4.859, allocations: 2.145 MB / 2.021 GB, free: 48.19 MB / 0.6355 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.02036/4.879, allocations: 13.35 MB / 2.034 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/4.881, allocations: 1.187 MB / 2.035 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008615/4.882, allocations: 0.6094 MB / 2.036 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/4.883, allocations: 1.775 MB / 2.037 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/4.885, allocations: 0.9422 MB / 2.038 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.507e-06/4.885, allocations: 2.25 kB / 2.038 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.01561/4.9, allocations: 10.06 MB / 2.048 GB, free: 33.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/4.901, allocations: 0.9381 MB / 2.049 GB, free: 32.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/4.904, allocations: 2.337 MB / 2.051 GB, free: 32.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004466/4.905, allocations: 63.3 kB / 2.051 GB, free: 32.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/4.906, allocations: 1.368 MB / 2.053 GB, free: 31.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/4.906, allocations: 424.9 kB / 2.053 GB, free: 31.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/4.906, allocations: 34.81 kB / 2.053 GB, free: 31.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001058/4.906, allocations: 368.7 kB / 2.053 GB, free: 31.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/4.907, allocations: 0.606 MB / 2.054 GB, free: 31.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/4.909, allocations: 1.243 MB / 2.055 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/4.91, allocations: 0.7553 MB / 2.056 GB, free: 30.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/4.91, allocations: 3.938 kB / 2.056 GB, free: 30.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004254/4.914, allocations: 2.312 MB / 2.058 GB, free: 30.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009922/4.915, allocations: 5.256 MB / 2.063 GB, free: 24.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/4.915, allocations: 17.55 kB / 2.063 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/4.918, allocations: 0.8804 MB / 2.064 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/4.92, allocations: 453.4 kB / 2.065 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/4.923, allocations: 2.168 MB / 2.067 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/4.928, allocations: 429.5 kB / 2.067 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002883/4.929, allocations: 107.5 kB / 2.067 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/4.929, allocations: 4.562 kB / 2.067 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003297/4.932, allocations: 2.024 MB / 2.069 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/4.932, allocations: 10.84 kB / 2.069 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/4.934, allocations: 0.8733 MB / 2.07 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/4.936, allocations: 441.9 kB / 2.071 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/4.939, allocations: 2.169 MB / 2.073 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/4.944, allocations: 362.4 kB / 2.073 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/4.944, allocations: 106.1 kB / 2.073 GB, free: 20.27 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {5 22,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006508/4.945, allocations: 222.4 kB / 2.073 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/4.945, allocations: 284.4 kB / 2.074 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/4.95, allocations: 1.725 MB / 2.075 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/4.95, allocations: 17.53 kB / 2.075 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/4.95, allocations: 3.156 kB / 2.075 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/4.953, allocations: 1.484 MB / 2.077 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/4.965, allocations: 6.294 MB / 2.083 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/4.965, allocations: 7.094 kB / 2.083 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/4.967, allocations: 278.9 kB / 2.083 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/4.969, allocations: 0.7298 MB / 2.084 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/4.969, allocations: 49.19 kB / 2.084 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/4.972, allocations: 1.934 MB / 2.086 GB, free: 29.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/4.972, allocations: 11.47 kB / 2.086 GB, free: 29.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00417/4.976, allocations: 3.266 MB / 2.089 GB, free: 26.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/4.978, allocations: 0.653 MB / 2.09 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007555/4.979, allocations: 38.78 kB / 2.09 GB, free: 26.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/4.982, allocations: 278.6 kB / 2.09 GB, free: 26.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/4.982, allocations: 105.1 kB / 2.09 GB, free: 26.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/4.982, allocations: 68.77 kB / 2.09 GB, free: 26.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003266/4.986, allocations: 1.831 MB / 2.092 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.815e-06/4.986, allocations: 0.6562 kB / 2.092 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006586/4.992, allocations: 1.66 MB / 2.094 GB, free: 22.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.008303/5.001, allocations: 6.662 MB / 2.1 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00641/5.007, allocations: 2.96 MB / 2.103 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/5.007, allocations: 9.656 kB / 2.103 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/5.009, allocations: 0.8736 MB / 2.104 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009079/5.018, allocations: 1.498 MB / 2.105 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/5.035, allocations: 4.575 MB / 2.11 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/5.037, allocations: 1.775 MB / 2.111 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005936/5.043, allocations: 0.8399 MB / 2.112 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/5.045, allocations: 1.123 MB / 2.113 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/5.045, allocations: 0 / 2.113 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6723/5.717, allocations: 107.8 MB / 2.219 GB, free: 75.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/5.718, allocations: 232.6 kB / 2.219 GB, free: 75.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.681/11.4, allocations: 0 / 2.219 GB, free: 75.33 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)