Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 289.7 MB / 302.3 MB, free: 2.129 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.001137/0.001136, allocations: 182.5 kB / 371.6 MB, free: 3.367 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.771/1.771, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009483/0.0009487, allocations: 94.23 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.221e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.691/1.98, allocations: 423.7 MB / 1.394 GB, free: 295.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.98, allocations: 91.48 kB / 1.394 GB, free: 295.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.716/3.696, allocations: 0.5477 GB / 1.941 GB, free: 164.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.843e-06/3.696, allocations: 0 / 1.941 GB, free: 164.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002654/3.696, allocations: 36.47 kB / 1.941 GB, free: 164.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005629/3.702, allocations: 1.899 MB / 1.943 GB, free: 163.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/3.702, allocations: 11 kB / 1.943 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005645/3.703, allocations: 174.5 kB / 1.943 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/3.708, allocations: 0.6164 MB / 1.944 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/3.713, allocations: 1.781 MB / 1.946 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/3.713, allocations: 133.4 kB / 1.946 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/3.713, allocations: 118.2 kB / 1.946 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/3.717, allocations: 1.446 MB / 1.947 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/3.717, allocations: 3.938 kB / 1.947 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/3.717, allocations: 58.62 kB / 1.948 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/3.717, allocations: 31.5 kB / 1.948 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/3.719, allocations: 1.097 MB / 1.949 GB, free: 159.9 MB / 0.948 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.01151/3.73, allocations: 6.76 MB / 1.955 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/3.731, allocations: 0.5449 MB / 1.956 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/3.732, allocations: 337.8 kB / 1.956 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/3.733, allocations: 1.273 MB / 1.957 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009523/3.734, allocations: 0.5186 MB / 1.958 GB, free: 152 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.437e-06/3.734, allocations: 2.938 kB / 1.958 GB, free: 152 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.002232/3.737, allocations: 0.8452 MB / 1.959 GB, free: 151.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/3.737, allocations: 484.7 kB / 1.959 GB, free: 151 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/3.739, allocations: 1.234 MB / 1.96 GB, free: 150.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/3.739, allocations: 45.31 kB / 1.96 GB, free: 150.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/3.74, allocations: 0.7165 MB / 1.961 GB, free: 149.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/3.74, allocations: 223.9 kB / 1.961 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/3.74, allocations: 19.94 kB / 1.961 GB, free: 149.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/3.74, allocations: 333.5 kB / 1.962 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/3.741, allocations: 329.5 kB / 1.962 GB, free: 149 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/3.742, allocations: 0.6362 MB / 1.963 GB, free: 148.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/3.742, allocations: 417.2 kB / 1.963 GB, free: 148.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/3.742, allocations: 0 / 1.963 GB, free: 148.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003669/3.746, allocations: 1.263 MB / 1.964 GB, free: 147.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005404/3.747, allocations: 2.528 MB / 1.967 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/3.747, allocations: 7.875 kB / 1.967 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/3.748, allocations: 328 kB / 1.967 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/3.749, allocations: 265.3 kB / 1.967 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007788/3.75, allocations: 0.8452 MB / 1.968 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/3.753, allocations: 285.4 kB / 1.968 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/3.753, allocations: 61.75 kB / 1.968 GB, free: 143.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/3.753, allocations: 3.844 kB / 1.968 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003284/3.756, allocations: 1.111 MB / 1.969 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/3.756, allocations: 10.72 kB / 1.969 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/3.757, allocations: 330.3 kB / 1.97 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/3.759, allocations: 270.8 kB / 1.97 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007303/3.76, allocations: 0.8375 MB / 1.971 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/3.762, allocations: 258.2 kB / 1.971 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/3.762, allocations: 64.31 kB / 1.971 GB, free: 142.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003508/3.763, allocations: 165 kB / 1.971 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/3.763, allocations: 150.4 kB / 1.971 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/3.766, allocations: 0.9298 MB / 1.972 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/3.766, allocations: 11.34 kB / 1.972 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/3.766, allocations: 0 / 1.972 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001995/3.768, allocations: 0.8169 MB / 1.973 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006219/3.774, allocations: 3.277 MB / 1.976 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/3.774, allocations: 6.688 kB / 1.976 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/3.775, allocations: 167.8 kB / 1.977 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/3.776, allocations: 315.5 kB / 1.977 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.79e-05/3.776, allocations: 32.88 kB / 1.977 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000735/3.777, allocations: 0.8406 MB / 1.978 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/3.777, allocations: 7.781 kB / 1.978 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/3.78, allocations: 1.817 MB / 1.98 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/3.782, allocations: 398.7 kB / 1.98 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/3.782, allocations: 23.67 kB / 1.98 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/3.784, allocations: 150.1 kB / 1.98 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/3.784, allocations: 68.45 kB / 1.98 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/3.785, allocations: 41.11 kB / 1.98 GB, free: 135.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001851/3.786, allocations: 0.9798 MB / 1.981 GB, free: 135.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/3.786, allocations: 0 / 1.981 GB, free: 135.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003938/3.79, allocations: 0.9919 MB / 1.982 GB, free: 135 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.006032/3.796, allocations: 4.148 MB / 1.986 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003456/3.8, allocations: 1.472 MB / 1.988 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/3.8, allocations: 0 / 1.988 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/3.801, allocations: 413.5 kB / 1.988 GB, free: 131 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005515/3.807, allocations: 0.7893 MB / 1.989 GB, free: 130.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/3.815, allocations: 2.484 MB / 1.991 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/3.816, allocations: 1.248 MB / 1.992 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002515/3.818, allocations: 466.3 kB / 1.993 GB, free: 126.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/3.819, allocations: 0.55 MB / 1.993 GB, free: 125.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/3.819, allocations: 4 kB / 1.993 GB, free: 125.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08406/3.903, allocations: 57.27 MB / 2.049 GB, free: 69.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/3.903, allocations: 247.4 kB / 2.05 GB, free: 69.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.141/8.044, allocations: 0 / 2.05 GB, free: 69.07 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)