Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001105/0.001105, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001067/0.001067, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 299.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8206/0.8206, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.233e-05, allocations: 2.281 kB / 0.682 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002315/0.002335, allocations: 2.006 MB / 0.684 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.004261, allocations: 1.663 MB / 0.6856 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.004323, allocations: 4 kB / 0.6856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.681e-05/0.004376, allocations: 19.8 kB / 0.6856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.004472, allocations: 51.55 kB / 0.6857 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.005232, allocations: 354.8 kB / 0.686 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.005446, allocations: 239.1 kB / 0.6862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.005571, allocations: 57.41 kB / 0.6863 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.00566, allocations: 83.77 kB / 0.6864 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.00578, allocations: 83.69 kB / 0.6865 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.005811, allocations: 20 kB / 0.6865 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.006379, allocations: 403.5 kB / 0.6869 GB, free: 2.105 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001764/0.006565, allocations: 261.5 kB / 0.6871 GB, free: 1.848 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.302e-05/0.006633, allocations: 141.1 kB / 0.6872 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.006663, allocations: 23.94 kB / 0.6873 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.349e-05/0.006681, allocations: 0 / 0.6873 GB, free: 1.688 MB / 494.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.0006601/0.007347, allocations: 0.8371 MB / 0.6881 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of FunctionAlias: time 9.849e-05/0.007451, allocations: 70.72 kB / 0.6881 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Early Inline: time 0.2331/0.2406, allocations: 0.6651 MB / 0.6888 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplify1: time 6.367e-05/0.2407, allocations: 22.61 kB / 0.6888 GB, free: 14.46 MB / 494.1 MB Notification: Performance of Alias: time 0.001116/0.2418, allocations: 0.9261 MB / 0.6897 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simplify2: time 1.266e-05/0.2418, allocations: 11.47 kB / 0.6897 GB, free: 14.19 MB / 494.1 MB Notification: Performance of Events: time 0.000151/0.242, allocations: 102.8 kB / 0.6898 GB, free: 14.19 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001401/0.2422, allocations: 148.8 kB / 0.69 GB, free: 14.15 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001513/0.2423, allocations: 170.4 kB / 0.6901 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Causalize: time 0.0006199/0.2429, allocations: 0.616 MB / 0.6907 GB, free: 13.95 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003365/0.2433, allocations: 469.1 kB / 0.6912 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Inline: time 0.0006594/0.2439, allocations: 0.8426 MB / 0.692 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Partitioning: time 3.045e-05/0.244, allocations: 38.77 kB / 0.692 GB, free: 13.73 MB / 494.1 MB Notification: Performance of Cleanup: time 3.205e-05/0.244, allocations: 32.86 kB / 0.6921 GB, free: 13.71 MB / 494.1 MB Notification: Performance of Causalize: time 0.0008451/0.2449, allocations: 0.8284 MB / 0.6929 GB, free: 13.45 MB / 494.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 = BuildingSystems.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!