Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.7 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007939/0.000794, allocations: 89.88 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 11.44 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05113/0.2896, allocations: 68.23 MB / 0.9675 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.3131, allocations: 14.63 MB / 0.9818 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.3166, allocations: 67.56 kB / 0.9819 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.3196, allocations: 0.7498 MB / 0.9826 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008715/0.3283, allocations: 2.32 MB / 0.9849 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006387/0.3347, allocations: 1.799 MB / 0.9866 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008655/0.3434, allocations: 5.812 MB / 0.9923 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.3458, allocations: 1.262 MB / 0.9936 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.3496, allocations: 1.447 MB / 0.995 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.3523, allocations: 1.19 MB / 0.9961 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.3525, allocations: 64 kB / 0.9962 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.3577, allocations: 1.823 MB / 0.998 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005363/0.3583, allocations: 326.5 kB / 0.9983 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.36, allocations: 0.8878 MB / 0.9992 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006823/0.3668, allocations: 3.4 MB / 1.002 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3668, allocations: 4 kB / 1.002 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3668, allocations: 0 / 1.002 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.662e-05/0.3669, allocations: 0 / 1.002 GB, free: 7.043 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00438/0.3713, allocations: 1.981 MB / 1.004 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3713, allocations: 11.97 kB / 1.004 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/0.3716, allocations: 181.5 kB / 1.005 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.3765, allocations: 0.6896 MB / 1.005 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.3796, allocations: 1.525 MB / 1.007 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.3797, allocations: 124 kB / 1.007 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.3799, allocations: 116 kB / 1.007 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.3839, allocations: 1.63 MB / 1.009 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.384, allocations: 3.938 kB / 1.009 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.3841, allocations: 59.98 kB / 1.009 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.3842, allocations: 39.92 kB / 1.009 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004531/0.3887, allocations: 1.472 MB / 1.01 GB, free: 14.97 MB / 0.6667 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.01092/0.3996, allocations: 7.191 MB / 1.017 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.4019, allocations: 0.8179 MB / 1.018 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.4035, allocations: 0.4949 MB / 1.018 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.405, allocations: 1.271 MB / 1.02 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.405, allocations: 55.06 kB / 1.02 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/0.4051, allocations: 0 / 1.02 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.009767/0.4148, allocations: 2.244 MB / 1.022 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.4149, allocations: 119.4 kB / 1.022 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.4173, allocations: 1.355 MB / 1.023 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.4174, allocations: 45.7 kB / 1.023 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/0.4181, allocations: 0.6842 MB / 1.024 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.4184, allocations: 240.6 kB / 1.024 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.4185, allocations: 16 kB / 1.024 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4186, allocations: 338 kB / 1.025 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.4204, allocations: 0.4977 MB / 1.025 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.4225, allocations: 0.7782 MB / 1.026 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.426, allocations: 1.148 MB / 1.027 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.426, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005/0.431, allocations: 1.554 MB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.4313, allocations: 280.9 kB / 1.029 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4313, allocations: 7.938 kB / 1.029 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.433, allocations: 449.6 kB / 1.029 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.4344, allocations: 255.6 kB / 1.029 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4362, allocations: 1.079 MB / 1.031 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4388, allocations: 282.9 kB / 1.031 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.439, allocations: 59.94 kB / 1.031 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.439, allocations: 4 kB / 1.031 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004569/0.4436, allocations: 1.398 MB / 1.032 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.4436, allocations: 8 kB / 1.032 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.4451, allocations: 435.6 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4465, allocations: 259.6 kB / 1.033 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.448, allocations: 1.075 MB / 1.034 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.4503, allocations: 242.8 kB / 1.034 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4504, allocations: 59.88 kB / 1.034 GB, free: 5.168 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.4515, allocations: 440.9 kB / 1.035 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.452, allocations: 150.3 kB / 1.035 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.4563, allocations: 1.318 MB / 1.036 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.4563, allocations: 7.984 kB / 1.036 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4563, allocations: 0 / 1.036 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003475/0.4598, allocations: 1.143 MB / 1.037 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008449/0.4683, allocations: 3.41 MB / 1.041 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.4683, allocations: 4 kB / 1.041 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/0.4693, allocations: 164 kB / 1.041 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.4708, allocations: 432.5 kB / 1.041 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.4709, allocations: 23.97 kB / 1.041 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.4725, allocations: 1.072 MB / 1.042 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4725, allocations: 4 kB / 1.042 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.4767, allocations: 1.405 MB / 1.044 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.4778, allocations: 390.8 kB / 1.044 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/0.4782, allocations: 16.12 kB / 1.044 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.4803, allocations: 159.8 kB / 1.044 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.4804, allocations: 52.25 kB / 1.044 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.4806, allocations: 43.95 kB / 1.044 GB, free: 10.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002199/0.4828, allocations: 0.9574 MB / 1.045 GB, free: 9.629 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.4828, allocations: 4 kB / 1.045 GB, free: 9.625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003612/0.4864, allocations: 0.9279 MB / 1.046 GB, free: 8.695 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006222/0.4926, allocations: 2.439 MB / 1.048 GB, free: 6.184 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006463/0.4991, allocations: 1.849 MB / 1.05 GB, free: 4.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.4991, allocations: 0 / 1.05 GB, free: 4.336 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.501, allocations: 0.5412 MB / 1.051 GB, free: 3.797 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005629/0.5066, allocations: 0.8074 MB / 1.052 GB, free: 3.004 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4708/0.9775, allocations: 13.12 MB / 1.064 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.9787, allocations: 1.206 MB / 1.066 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002139/0.9808, allocations: 340.6 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/0.9817, allocations: 0.5579 MB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/0.9817, allocations: 4.812 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08215/1.064, allocations: 49.94 MB / 1.115 GB, free: 107.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/1.064, allocations: 302.3 kB / 1.115 GB, free: 107 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.18/5.244, allocations: 0 / 1.115 GB, free: 107 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)