Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.438/2.438, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001527/0.001527, allocations: 180.8 kB / 360.6 MB, free: 7.273 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.224/2.224, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001106/0.001106, allocations: 91.81 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.082e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.797, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/2.106, allocations: 421.9 MB / 1.375 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/2.107, allocations: 87.2 kB / 1.376 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.525/4.631, allocations: 0.545 GB / 1.92 GB, free: 47.69 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.485e-06/4.631, allocations: 0 / 1.92 GB, free: 47.69 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000249/4.632, allocations: 51.86 kB / 1.921 GB, free: 47.64 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006183/4.638, allocations: 1.891 MB / 1.922 GB, free: 45.68 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/4.638, allocations: 12.03 kB / 1.922 GB, free: 45.66 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008628/4.646, allocations: 0.6105 MB / 1.923 GB, free: 45.05 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/4.652, allocations: 1.787 MB / 1.925 GB, free: 43.21 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/4.652, allocations: 84.03 kB / 1.925 GB, free: 43.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/4.653, allocations: 75.95 kB / 1.925 GB, free: 43.04 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003232/4.656, allocations: 1.02 MB / 1.926 GB, free: 42.02 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/4.66, allocations: 1.267 MB / 1.927 GB, free: 40.66 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/4.66, allocations: 8 kB / 1.927 GB, free: 40.65 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/4.66, allocations: 4 kB / 1.927 GB, free: 40.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/4.66, allocations: 32 kB / 1.927 GB, free: 40.62 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.01605/4.676, allocations: 6.493 MB / 1.933 GB, free: 33.85 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/4.678, allocations: 0.5107 MB / 1.934 GB, free: 33.33 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/4.678, allocations: 314.4 kB / 1.934 GB, free: 33.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/4.68, allocations: 1.267 MB / 1.936 GB, free: 31.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/4.681, allocations: 0.5037 MB / 1.936 GB, free: 30.92 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 4.218e-06/4.681, allocations: 4 kB / 1.936 GB, free: 30.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.004716/4.686, allocations: 0.9041 MB / 1.937 GB, free: 30 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/4.686, allocations: 487.4 kB / 1.937 GB, free: 29.41 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/4.688, allocations: 0.9874 MB / 1.938 GB, free: 28.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/4.689, allocations: 29.7 kB / 1.938 GB, free: 28.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000825/4.69, allocations: 0.7329 MB / 1.939 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/4.69, allocations: 216.8 kB / 1.939 GB, free: 27.42 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/4.69, allocations: 0 / 1.939 GB, free: 27.42 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/4.69, allocations: 337.9 kB / 1.94 GB, free: 27.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/4.691, allocations: 318.5 kB / 1.94 GB, free: 26.78 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/4.692, allocations: 0.62 MB / 1.941 GB, free: 26.03 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/4.695, allocations: 0.4904 MB / 1.941 GB, free: 25.54 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/4.695, allocations: 4 kB / 1.941 GB, free: 25.54 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.008164/4.704, allocations: 1.261 MB / 1.942 GB, free: 24.26 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005361/4.704, allocations: 2.492 MB / 1.945 GB, free: 21.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/4.704, allocations: 4 kB / 1.945 GB, free: 21.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/4.705, allocations: 275.3 kB / 1.945 GB, free: 21.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/4.708, allocations: 263.6 kB / 1.945 GB, free: 21.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/4.71, allocations: 0.8871 MB / 1.946 GB, free: 20.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/4.714, allocations: 239 kB / 1.946 GB, free: 19.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/4.715, allocations: 59.94 kB / 1.946 GB, free: 19.85 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/4.715, allocations: 8 kB / 1.946 GB, free: 19.84 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007519/4.722, allocations: 1.112 MB / 1.947 GB, free: 18.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/4.723, allocations: 8 kB / 1.947 GB, free: 18.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009382/4.723, allocations: 269.2 kB / 1.948 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/4.726, allocations: 263.6 kB / 1.948 GB, free: 18.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/4.728, allocations: 0.8948 MB / 1.949 GB, free: 17.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/4.732, allocations: 203.2 kB / 1.949 GB, free: 17.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/4.732, allocations: 51.95 kB / 1.949 GB, free: 17.03 MB / 0.9323 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.0004228/4.733, allocations: 138.8 kB / 1.949 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004425/4.737, allocations: 0.9197 MB / 1.95 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/4.738, allocations: 126.5 kB / 1.95 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006154/4.744, allocations: 0.996 MB / 1.951 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/4.744, allocations: 8 kB / 1.951 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/4.744, allocations: 0 / 1.951 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005434/4.749, allocations: 0.9005 MB / 1.952 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/4.76, allocations: 3.18 MB / 1.955 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/4.76, allocations: 4 kB / 1.955 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/4.762, allocations: 172.1 kB / 1.955 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/4.763, allocations: 268.7 kB / 1.956 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/4.763, allocations: 15.97 kB / 1.956 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/4.764, allocations: 0.8909 MB / 1.956 GB, free: 9.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/4.764, allocations: 7.938 kB / 1.956 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00707/4.772, allocations: 1.815 MB / 1.958 GB, free: 7.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/4.773, allocations: 371.2 kB / 1.959 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/4.773, allocations: 7.984 kB / 1.959 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/4.777, allocations: 131.9 kB / 1.959 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/4.777, allocations: 72.23 kB / 1.959 GB, free: 6.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/4.777, allocations: 35.97 kB / 1.959 GB, free: 6.645 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001531/4.779, allocations: 0.7454 MB / 1.96 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.41e-07/4.779, allocations: 0 / 1.96 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004642/4.783, allocations: 0.9974 MB / 1.961 GB, free: 4.895 MB / 0.9323 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.009536/4.793, allocations: 4.165 MB / 1.965 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.6629/5.456, allocations: 1.387 MB / 1.966 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/5.456, allocations: 2.25 kB / 1.966 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/5.457, allocations: 398.2 kB / 1.966 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005095/5.462, allocations: 0.5783 MB / 1.967 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/5.473, allocations: 2.363 MB / 1.969 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/5.474, allocations: 1.249 MB / 1.97 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003751/5.478, allocations: 410.4 kB / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/5.48, allocations: 0.5418 MB / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/5.48, allocations: 0 / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/5.636, allocations: 45.91 MB / 2.016 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/5.636, allocations: 211.1 kB / 2.016 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.969/10.61, allocations: 2.344 kB / 2.016 GB, free: 160.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)