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.001182/0.001182, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5378/0.5378, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.616/1.616, allocations: 223.2 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 88.34 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 72.32 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.189, allocations: 388.7 MB / 0.9485 GB, free: 78.53 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.19, allocations: 90.89 kB / 0.9486 GB, free: 78.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.137/5.327, allocations: 1.071 GB / 2.019 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/5.327, allocations: 0 / 2.019 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005941/5.328, allocations: 87.78 kB / 2.019 GB, free: 43.63 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.01407/5.342, allocations: 3.715 MB / 2.023 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/5.342, allocations: 10 kB / 2.023 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001715/5.344, allocations: 332.7 kB / 2.023 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/5.354, allocations: 1.216 MB / 2.024 GB, free: 41.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009611/5.363, allocations: 3.332 MB / 2.028 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/5.364, allocations: 256.8 kB / 2.028 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004671/5.364, allocations: 227.8 kB / 2.028 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007978/5.372, allocations: 3.182 MB / 2.031 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/5.372, allocations: 12.16 kB / 2.031 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/5.372, allocations: 103.3 kB / 2.031 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/5.373, allocations: 97.05 kB / 2.031 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00885/5.381, allocations: 2.803 MB / 2.034 GB, free: 40.57 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.02205/5.403, allocations: 13.36 MB / 2.047 GB, free: 34.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/5.408, allocations: 1.521 MB / 2.049 GB, free: 34.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/5.409, allocations: 1.777 MB / 2.05 GB, free: 32.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00355/5.413, allocations: 1.2 MB / 2.052 GB, free: 32.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.386e-06/5.413, allocations: 0 / 2.052 GB, free: 32.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.03826/5.451, allocations: 13.32 MB / 2.065 GB, free: 26.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/5.451, allocations: 0.9364 MB / 2.066 GB, free: 24.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/5.456, allocations: 2.434 MB / 2.068 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003985/5.456, allocations: 60.52 kB / 2.068 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/5.457, allocations: 1.366 MB / 2.069 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/5.458, allocations: 428.9 kB / 2.07 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/5.458, allocations: 33.12 kB / 2.07 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001103/5.458, allocations: 372.2 kB / 2.07 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/5.461, allocations: 0.9267 MB / 2.071 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/5.465, allocations: 1.561 MB / 2.073 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/5.469, allocations: 1.067 MB / 2.074 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/5.469, allocations: 6.125 kB / 2.074 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009167/5.478, allocations: 2.979 MB / 2.076 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00127/5.479, allocations: 5.261 MB / 2.082 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/5.479, allocations: 17.33 kB / 2.082 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/5.482, allocations: 0.9195 MB / 2.083 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/5.485, allocations: 453.1 kB / 2.083 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/5.487, allocations: 2.189 MB / 2.085 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/5.493, allocations: 417.9 kB / 2.086 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/5.494, allocations: 111.5 kB / 2.086 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/5.494, allocations: 3.562 kB / 2.086 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008654/5.502, allocations: 2.645 MB / 2.088 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/5.502, allocations: 14.5 kB / 2.088 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/5.505, allocations: 0.9253 MB / 2.089 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/5.508, allocations: 442.8 kB / 2.09 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/5.51, allocations: 2.187 MB / 2.092 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005192/5.516, allocations: 350.2 kB / 2.092 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/5.516, allocations: 109.8 kB / 2.092 GB, free: 14.85 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 () * Number of clocked 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002193/5.518, allocations: 0.7011 MB / 2.093 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009031/5.519, allocations: 286.2 kB / 2.093 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009397/5.528, allocations: 2.353 MB / 2.095 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/5.529, allocations: 14.81 kB / 2.095 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/5.529, allocations: 7.281 kB / 2.095 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007949/5.537, allocations: 2.122 MB / 2.097 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/5.553, allocations: 6.764 MB / 2.104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/5.553, allocations: 6.062 kB / 2.104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/5.554, allocations: 278.3 kB / 2.104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/5.557, allocations: 0.7931 MB / 2.105 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/5.557, allocations: 55.23 kB / 2.105 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/5.559, allocations: 1.957 MB / 2.107 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/5.559, allocations: 5.938 kB / 2.107 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/5.571, allocations: 4.126 MB / 2.111 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/5.573, allocations: 0.6594 MB / 2.112 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006294/5.574, allocations: 44.64 kB / 2.112 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/5.577, allocations: 273.9 kB / 2.112 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/5.577, allocations: 113.1 kB / 2.112 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/5.578, allocations: 74.36 kB / 2.112 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003863/5.581, allocations: 1.903 MB / 2.114 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.3e-07/5.581, allocations: 0 / 2.114 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007025/5.588, allocations: 1.655 MB / 2.116 GB, free: 24.92 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/5.605, allocations: 7.534 MB / 2.123 GB, free: 21.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01228/5.617, allocations: 3.544 MB / 2.127 GB, free: 20.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/5.618, allocations: 4.344 kB / 2.127 GB, free: 20.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003646/5.621, allocations: 1.053 MB / 2.128 GB, free: 20.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008203/5.629, allocations: 1.499 MB / 2.129 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05008/5.68, allocations: 27.64 MB / 2.156 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/5.681, allocations: 1.77 MB / 2.158 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004262/5.685, allocations: 0.6632 MB / 2.158 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/5.687, allocations: 1.178 MB / 2.16 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of SimCode: time 7.91e-07/5.687, allocations: 0 / 2.16 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5999/6.287, allocations: 104.1 MB / 2.261 GB, free: 61.13 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/6.287, allocations: 258.2 kB / 2.261 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.781/12.07, allocations: 1.375 kB / 2.262 GB, free: 60.78 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)