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.737/1.737, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001082/0.001082, allocations: 165 kB / 366.7 MB, free: 1.641 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.072/2.072, allocations: 205.2 MB / 0.626 GB, free: 7.113 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.0009824/0.0009822, allocations: 91.34 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.783e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7755, allocations: 116.3 MB / 0.9733 GB, free: 75.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.944, allocations: 423.1 MB / 1.386 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.944, allocations: 91.75 kB / 1.387 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.677/3.621, allocations: 0.545 GB / 1.932 GB, free: 61.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.482e-06/3.621, allocations: 0 / 1.932 GB, free: 61.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001366/3.622, allocations: 51.86 kB / 1.932 GB, free: 61.02 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.003817/3.625, allocations: 1.891 MB / 1.933 GB, free: 59.06 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/3.625, allocations: 12.03 kB / 1.933 GB, free: 59.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/3.63, allocations: 0.6183 MB / 1.934 GB, free: 58.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/3.633, allocations: 1.77 MB / 1.936 GB, free: 56.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/3.633, allocations: 84.02 kB / 1.936 GB, free: 56.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/3.634, allocations: 72 kB / 1.936 GB, free: 56.44 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001832/3.635, allocations: 1.02 MB / 1.937 GB, free: 55.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/3.637, allocations: 1.271 MB / 1.938 GB, free: 54.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/3.637, allocations: 7.938 kB / 1.938 GB, free: 54.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/3.638, allocations: 4 kB / 1.938 GB, free: 54.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/3.638, allocations: 32 kB / 1.938 GB, free: 54.01 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.008904/3.647, allocations: 6.492 MB / 1.945 GB, free: 47.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/3.647, allocations: 0.5066 MB / 1.945 GB, free: 46.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/3.648, allocations: 316.5 kB / 1.945 GB, free: 46.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/3.649, allocations: 1.271 MB / 1.947 GB, free: 44.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/3.649, allocations: 0.5075 MB / 1.947 GB, free: 44.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.645e-06/3.649, allocations: 0 / 1.947 GB, free: 44.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.002956/3.652, allocations: 0.9083 MB / 1.948 GB, free: 43.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/3.653, allocations: 479.1 kB / 1.948 GB, free: 42.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/3.654, allocations: 0.9836 MB / 1.949 GB, free: 41.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/3.654, allocations: 29.7 kB / 1.949 GB, free: 41.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/3.655, allocations: 0.729 MB / 1.95 GB, free: 41.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/3.655, allocations: 220.7 kB / 1.95 GB, free: 40.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/3.655, allocations: 0 / 1.95 GB, free: 40.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/3.655, allocations: 349.9 kB / 1.951 GB, free: 40.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/3.655, allocations: 310.6 kB / 1.951 GB, free: 40.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/3.656, allocations: 0.6163 MB / 1.952 GB, free: 39.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/3.658, allocations: 0.4904 MB / 1.952 GB, free: 38.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/3.658, allocations: 7.938 kB / 1.952 GB, free: 38.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004357/3.662, allocations: 1.265 MB / 1.953 GB, free: 37.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000625/3.663, allocations: 2.488 MB / 1.956 GB, free: 34.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/3.663, allocations: 8 kB / 1.956 GB, free: 34.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/3.664, allocations: 278.6 kB / 1.956 GB, free: 34.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/3.665, allocations: 267.5 kB / 1.956 GB, free: 34.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/3.666, allocations: 0.891 MB / 1.957 GB, free: 33.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/3.669, allocations: 239 kB / 1.957 GB, free: 33.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/3.669, allocations: 51.95 kB / 1.957 GB, free: 33.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/3.669, allocations: 4 kB / 1.957 GB, free: 33.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004203/3.673, allocations: 1.108 MB / 1.958 GB, free: 32.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/3.673, allocations: 8.688 kB / 1.958 GB, free: 32.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/3.674, allocations: 272.7 kB / 1.959 GB, free: 31.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/3.675, allocations: 267.5 kB / 1.959 GB, free: 31.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/3.676, allocations: 0.8909 MB / 1.96 GB, free: 30.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/3.679, allocations: 203.2 kB / 1.96 GB, free: 30.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/3.679, allocations: 55.94 kB / 1.96 GB, free: 30.41 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.0004166/3.679, allocations: 136.7 kB / 1.96 GB, free: 30.27 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002951/3.682, allocations: 0.9119 MB / 1.961 GB, free: 29.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/3.683, allocations: 126.5 kB / 1.961 GB, free: 29.22 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/3.686, allocations: 0.9998 MB / 1.962 GB, free: 28.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/3.686, allocations: 15.98 kB / 1.962 GB, free: 28.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/3.686, allocations: 3.938 kB / 1.962 GB, free: 28.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/3.689, allocations: 0.8967 MB / 1.963 GB, free: 27.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005768/3.695, allocations: 3.16 MB / 1.966 GB, free: 24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/3.695, allocations: 4 kB / 1.966 GB, free: 24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/3.696, allocations: 168.3 kB / 1.966 GB, free: 23.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/3.696, allocations: 274.7 kB / 1.967 GB, free: 23.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/3.696, allocations: 24.03 kB / 1.967 GB, free: 23.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008803/3.697, allocations: 0.8884 MB / 1.968 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/3.697, allocations: 7.938 kB / 1.968 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/3.701, allocations: 1.819 MB / 1.969 GB, free: 20.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/3.702, allocations: 371.1 kB / 1.97 GB, free: 20.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/3.702, allocations: 8 kB / 1.97 GB, free: 20.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/3.704, allocations: 135.8 kB / 1.97 GB, free: 20.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/3.704, allocations: 68.23 kB / 1.97 GB, free: 20.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/3.704, allocations: 39.95 kB / 1.97 GB, free: 20.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009515/3.705, allocations: 0.7493 MB / 1.971 GB, free: 19.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/3.705, allocations: 0 / 1.971 GB, free: 19.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002777/3.708, allocations: 0.9896 MB / 1.972 GB, free: 18.29 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.005484/3.713, allocations: 4.171 MB / 1.976 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002279/3.716, allocations: 1.391 MB / 1.977 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/3.716, allocations: 0 / 1.977 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006427/3.716, allocations: 393.4 kB / 1.977 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/3.719, allocations: 0.5898 MB / 1.978 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/3.726, allocations: 2.377 MB / 1.98 GB, free: 9.113 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/3.727, allocations: 1.247 MB / 1.982 GB, free: 7.832 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002098/3.729, allocations: 409.8 kB / 1.982 GB, free: 7.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/3.73, allocations: 0.5422 MB / 1.982 GB, free: 6.887 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/3.73, allocations: 0 / 1.982 GB, free: 6.887 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6467/4.377, allocations: 45.92 MB / 2.027 GB, free: 170.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/4.377, allocations: 192 kB / 2.027 GB, free: 170 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.613/7.99, allocations: 2 kB / 2.027 GB, free: 170 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)