Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002235/0.002235, allocations: 288.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3977, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06773/0.4655, allocations: 69.95 MB / 0.8354 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.4851, allocations: 14.51 MB / 0.8495 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.4874, allocations: 71.56 kB / 0.8496 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.4898, allocations: 0.9512 MB / 0.8505 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006792/0.4967, allocations: 2.68 MB / 0.8532 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.5014, allocations: 1.999 MB / 0.8551 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005947/0.5073, allocations: 4.731 MB / 0.8597 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.5098, allocations: 1.63 MB / 0.8613 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.5139, allocations: 1.839 MB / 0.8631 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.5161, allocations: 1.287 MB / 0.8644 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.5166, allocations: 200 kB / 0.8646 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.5211, allocations: 1.979 MB / 0.8665 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.5218, allocations: 478.4 kB / 0.867 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.5234, allocations: 1.035 MB / 0.868 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.5289, allocations: 3.544 MB / 0.8714 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5289, allocations: 0 / 0.8714 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5289, allocations: 0 / 0.8714 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.716e-05/0.529, allocations: 4 kB / 0.8714 GB, free: 8.715 MB / 0.6387 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.005526/0.5345, allocations: 2.356 MB / 0.8737 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5346, allocations: 12.03 kB / 0.8737 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.5401, allocations: 0.6465 MB / 0.8744 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.5432, allocations: 1.599 MB / 0.8759 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.5434, allocations: 132 kB / 0.8761 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.5437, allocations: 127.9 kB / 0.8762 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/0.5479, allocations: 1.625 MB / 0.8778 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.5479, allocations: 3.938 kB / 0.8778 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.5481, allocations: 52 kB / 0.8778 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.5482, allocations: 39.92 kB / 0.8779 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.5531, allocations: 1.445 MB / 0.8793 GB, free: 460 kB / 0.6387 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.01133/0.5644, allocations: 6.939 MB / 0.886 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.5668, allocations: 0.7516 MB / 0.8868 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.5686, allocations: 490.2 kB / 0.8872 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.57, allocations: 1.271 MB / 0.8885 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.5721, allocations: 0.644 MB / 0.8891 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 3.085e-06/0.5721, allocations: 8 kB / 0.8891 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.01063/0.5828, allocations: 2.041 MB / 0.8911 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002496/0.583, allocations: 321 kB / 0.8914 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.5854, allocations: 1.399 MB / 0.8928 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.5856, allocations: 45.7 kB / 0.8928 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.5863, allocations: 0.7036 MB / 0.8935 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.5865, allocations: 240.5 kB / 0.8937 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.587, allocations: 246.3 kB / 0.894 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5871, allocations: 345.9 kB / 0.8943 GB, free: 236 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.5891, allocations: 0.5083 MB / 0.8948 GB, free: 15.72 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.5914, allocations: 0.8022 MB / 0.8956 GB, free: 14.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.5954, allocations: 1.166 MB / 0.8967 GB, free: 13.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.5954, allocations: 4 kB / 0.8967 GB, free: 13.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006672/0.6021, allocations: 1.634 MB / 0.8983 GB, free: 11.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.6021, allocations: 34.2 kB / 0.8984 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6021, allocations: 12 kB / 0.8984 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.6036, allocations: 369.6 kB / 0.8987 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.6051, allocations: 263.5 kB / 0.899 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.6064, allocations: 0.8841 MB / 0.8998 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.6088, allocations: 230.7 kB / 0.9001 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6089, allocations: 59.89 kB / 0.9001 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002514/0.6115, allocations: 0.8061 MB / 0.9009 GB, free: 9.223 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002332/0.6138, allocations: 0.8022 MB / 0.9017 GB, free: 8.297 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003692/0.6175, allocations: 1.15 MB / 0.9028 GB, free: 7.055 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.6175, allocations: 4 kB / 0.9028 GB, free: 7.051 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006486/0.624, allocations: 1.63 MB / 0.9044 GB, free: 5.402 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.6241, allocations: 33.7 kB / 0.9044 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6241, allocations: 11.94 kB / 0.9045 GB, free: 5.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.6254, allocations: 371.2 kB / 0.9048 GB, free: 4.988 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.6269, allocations: 267.5 kB / 0.9051 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.628, allocations: 0.8826 MB / 0.9059 GB, free: 3.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.6303, allocations: 203.2 kB / 0.9061 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.6305, allocations: 55.95 kB / 0.9062 GB, free: 3.566 MB / 0.67 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.6308, allocations: 244 kB / 0.9064 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/0.6312, allocations: 150.2 kB / 0.9065 GB, free: 3.172 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.6355, allocations: 1.227 MB / 0.9077 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003565/0.6391, allocations: 1.026 MB / 0.9087 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6391, allocations: 0 / 0.9087 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00065/0.6397, allocations: 359.1 kB / 0.9091 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.64, allocations: 12 kB / 0.9091 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.6417, allocations: 115.8 kB / 0.9092 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.6419, allocations: 52.44 kB / 0.9093 GB, free: 336 kB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005919/0.6478, allocations: 1.636 MB / 0.9109 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00562/0.6534, allocations: 2.057 MB / 0.9129 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001657/0.6551, allocations: 468.3 kB / 0.9133 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001662/0.6568, allocations: 0.9857 MB / 0.9143 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of Backend: time 3.71e-07/0.6568, allocations: 0 / 0.9143 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007693/0.6645, allocations: 2.281 MB / 0.9165 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006432/0.6709, allocations: 3.511 MB / 0.9199 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.3715/1.042, allocations: 47.48 MB / 0.9663 GB, free: 178 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)