Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 109.6 kB / 16.42 MB, free: 6.469 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.001138/0.001138, allocations: 187.1 kB / 17.35 MB, free: 5.707 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.14 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.7597/0.7597, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.415e-05, allocations: 3.594 kB / 0.5961 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002029/0.002051, allocations: 2.015 MB / 0.5981 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003699, allocations: 1.674 MB / 0.5997 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.003759, allocations: 1.312 kB / 0.5997 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.003816, allocations: 19.84 kB / 0.5997 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.003898, allocations: 48.3 kB / 0.5998 GB, free: 8.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.004627, allocations: 361.1 kB / 0.6001 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.004794, allocations: 241.1 kB / 0.6004 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004918, allocations: 56.52 kB / 0.6004 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.004995, allocations: 75.78 kB / 0.6005 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.005095, allocations: 87.73 kB / 0.6006 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.005133, allocations: 17.5 kB / 0.6006 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.005657, allocations: 419.5 kB / 0.601 GB, free: 7.398 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001422/0.005809, allocations: 249.5 kB / 0.6012 GB, free: 7.152 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.177e-05/0.005857, allocations: 139.4 kB / 0.6014 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.005884, allocations: 27.94 kB / 0.6014 GB, free: 6.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.592e-05/0.005904, allocations: 7.938 kB / 0.6014 GB, free: 6.98 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.0005149/0.006423, allocations: 0.8281 MB / 0.6022 GB, free: 6.07 MB / 446.1 MB Notification: Performance of FunctionAlias: time 9.016e-05/0.006519, allocations: 78.62 kB / 0.6023 GB, free: 6.008 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0004105/0.006936, allocations: 0.6541 MB / 0.6029 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simplify1: time 1.873e-05/0.006963, allocations: 20.53 kB / 0.6029 GB, free: 5.324 MB / 446.1 MB Notification: Performance of Alias: time 0.0007601/0.007728, allocations: 0.9413 MB / 0.6039 GB, free: 4.289 MB / 446.1 MB Notification: Performance of simplify2: time 1.079e-05/0.007749, allocations: 15.97 kB / 0.6039 GB, free: 4.273 MB / 446.1 MB Notification: Performance of Events: time 0.0001179/0.007872, allocations: 112.9 kB / 0.604 GB, free: 4.16 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001105/0.007989, allocations: 136.1 kB / 0.6041 GB, free: 4.012 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001227/0.008118, allocations: 168.4 kB / 0.6043 GB, free: 3.816 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004572/0.008581, allocations: 0.6119 MB / 0.6049 GB, free: 3.172 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002553/0.008844, allocations: 472.5 kB / 0.6053 GB, free: 2.684 MB / 446.1 MB Notification: Performance of Inline: time 0.0005071/0.009357, allocations: 0.8424 MB / 0.6061 GB, free: 1.809 MB / 446.1 MB Notification: Performance of Partitioning: time 2.463e-05/0.00939, allocations: 29.25 kB / 0.6062 GB, free: 1.77 MB / 446.1 MB Notification: Performance of Cleanup: time 2.561e-05/0.009421, allocations: 43.05 kB / 0.6062 GB, free: 1.73 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006269/0.01005, allocations: 0.8167 MB / 0.607 GB, free: 0.9062 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_ZeroInput.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!