Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 102.4 kB / 16.37 MB, free: 6.316 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.001204/0.001204, allocations: 193.8 kB / 17.31 MB, free: 5.891 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.546/1.546, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9388/0.9388, allocations: 143 MB / 434.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/2.926e-05, allocations: 2.281 kB / 0.5155 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003678/0.003726, allocations: 2.001 MB / 0.5175 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.006412, allocations: 1.675 MB / 0.5191 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.006499, allocations: 0 / 0.5191 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.132e-05/0.00659, allocations: 19.8 kB / 0.5191 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.006709, allocations: 47.55 kB / 0.5192 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.0079, allocations: 366.8 kB / 0.5195 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.00818, allocations: 235.1 kB / 0.5197 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.008375, allocations: 61.44 kB / 0.5198 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.008499, allocations: 83.72 kB / 0.5199 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.008657, allocations: 99.59 kB / 0.52 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.008694, allocations: 16 kB / 0.52 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.009406, allocations: 407.5 kB / 0.5204 GB, free: 9.57 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002361/0.009653, allocations: 253.5 kB / 0.5206 GB, free: 9.32 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 9.36e-05/0.009753, allocations: 138 kB / 0.5208 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.009796, allocations: 27.94 kB / 0.5208 GB, free: 9.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.999e-05/0.009833, allocations: 11.94 kB / 0.5208 GB, free: 9.145 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 (27) * Number of variables: 36 (36) Notification: Performance of Bindings: time 0.0008849/0.01072, allocations: 0.8137 MB / 0.5216 GB, free: 8.227 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001353/0.01087, allocations: 65.84 kB / 0.5216 GB, free: 8.168 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006753/0.01155, allocations: 0.6583 MB / 0.5223 GB, free: 7.48 MB / 446.1 MB Notification: Performance of simplify1: time 2.715e-05/0.01159, allocations: 23.97 kB / 0.5223 GB, free: 7.457 MB / 446.1 MB Notification: Performance of Alias: time 0.001116/0.01271, allocations: 0.8405 MB / 0.5231 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simplify2: time 1.257e-05/0.01273, allocations: 7.984 kB / 0.5231 GB, free: 6.488 MB / 446.1 MB Notification: Performance of Events: time 0.0001721/0.01291, allocations: 108.9 kB / 0.5232 GB, free: 6.383 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001802/0.0131, allocations: 142.7 kB / 0.5234 GB, free: 6.23 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002003/0.01331, allocations: 172 kB / 0.5235 GB, free: 6.035 MB / 446.1 MB Notification: Performance of Causalize: time 0.001119/0.01444, allocations: 1.055 MB / 0.5246 GB, free: 4.949 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004295/0.01488, allocations: 468.8 kB / 0.525 GB, free: 4.465 MB / 446.1 MB Notification: Performance of Inline: time 0.0007974/0.01568, allocations: 0.8383 MB / 0.5258 GB, free: 3.586 MB / 446.1 MB Notification: Performance of Partitioning: time 4.055e-05/0.01573, allocations: 33.25 kB / 0.5259 GB, free: 3.547 MB / 446.1 MB Notification: Performance of Cleanup: time 4.471e-05/0.01579, allocations: 52.89 kB / 0.5259 GB, free: 3.496 MB / 446.1 MB Notification: Performance of Causalize: time 0.001214/0.01701, allocations: 1.29 MB / 0.5272 GB, free: 2.195 MB / 446.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if com.isOn then [SCAL] (1) -(-heaFloCon.Q_flow) = com.P * com.COP ($RES_SIM_20) [SCAL] (1) -heaFloCon.Q_flow = -(heaFloEva.Q_flow + com.P) ($RES_SIM_21) [SCAL] (1) heaFloEva.Q_flow = com.m_flow * (com.hEva - com.hCon) ($RES_SIM_22) [SCAL] (1) com.TSuc = eva.T + com.dTSup ($RES_SIM_23) [SCAL] (1) com.P = com.PThe / com.etaEle + com.PLos ($RES_SIM_24) [SCAL] (1) com.PThe = com.vSuc * com.pSuc * com.m_flow * (com.k / (com.k - 1.0)) * (com.PR ^ ((com.k - 1.0) / com.k) - 1.0) ($RES_SIM_25) [SCAL] (1) com.m_flow = ((com.pisDis * com.pisDis_norm) / com.vSuc) * ((com.cleFac + 1.0) - com.cleFac * com.PR ^ (1.0 / com.k)) ($RES_SIM_26) [SCAL] (1) com.k = BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.com.ref.isentropicExponentVap_Tv(com.TSuc, com.vSuc) ($RES_SIM_27) [SCAL] (1) com.pDis = com.pCon + com.pDro ($RES_SIM_28) [SCAL] (1) com.pSuc = smooth(1, if $SEV_4 then com.pEva - com.pDro else if $SEV_5 then com.pCon - com.pDro else 0.25 * ((com.pDro + com.pCon) - (com.pEva + com.pDro)) * ((-3.0) + (((com.pDro + com.pCon) - (com.pEva + com.pDro)) / 49261.0) ^ 2.0) * (2.030003451005867e-5 * ((com.pCon + com.pDro) - (com.pDro + com.pEva))) + 0.5 * ((com.pEva + com.pCon) - (com.pDro + com.pDro))) ($RES_SIM_29) else [SCAL] (1) com.COP = 1.0 ($RES_SIM_30) [SCAL] (1) -heaFloCon.Q_flow = 0.0 ($RES_SIM_31) [SCAL] (1) heaFloEva.Q_flow = 0.0 ($RES_SIM_32) [SCAL] (1) com.TSuc = eva.T ($RES_SIM_33) [SCAL] (1) com.P = 0.0 ($RES_SIM_34) [SCAL] (1) com.PThe = 0.0 ($RES_SIM_35) [SCAL] (1) com.m_flow = 0.0 ($RES_SIM_36) [SCAL] (1) com.pDis = com.pCon ($RES_SIM_37) [SCAL] (1) com.pSuc = com.pEva ($RES_SIM_38) [SCAL] (1) com.k = 1.0 ($RES_SIM_39) end if; Error: Internal error NBInitialization.main failed to apply modules!