Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001177/0.001176, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001114/0.001114, allocations: 185.5 kB / 17.36 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.333e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002562/0.002583, allocations: 2.017 MB / 0.7284 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.004892, allocations: 2.038 MB / 0.7303 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.004951, allocations: 4 kB / 0.7303 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.005007, allocations: 23.78 kB / 0.7304 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.005098, allocations: 47.56 kB / 0.7304 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.005988, allocations: 446.1 kB / 0.7308 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.006221, allocations: 247.1 kB / 0.7311 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.006354, allocations: 57.39 kB / 0.7311 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.006443, allocations: 83.72 kB / 0.7312 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.006558, allocations: 87.66 kB / 0.7313 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.006599, allocations: 24 kB / 0.7313 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.007202, allocations: 467.3 kB / 0.7318 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0002161/0.007427, allocations: 245.5 kB / 0.732 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 7.045e-05/0.007503, allocations: 142 kB / 0.7321 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.007536, allocations: 27.94 kB / 0.7322 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.42e-05/0.007554, allocations: 4 kB / 0.7322 GB, free: 14.77 MB / 0.5762 GB 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.0007041/0.008263, allocations: 0.8138 MB / 0.733 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001269/0.008395, allocations: 74.45 kB / 0.733 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0005553/0.008957, allocations: 0.6544 MB / 0.7337 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simplify1: time 2.403e-05/0.00899, allocations: 27.97 kB / 0.7337 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of Alias: time 0.000847/0.009842, allocations: 0.8364 MB / 0.7345 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simplify2: time 1.235e-05/0.009865, allocations: 7.984 kB / 0.7345 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of Events: time 0.0001576/0.01003, allocations: 112.9 kB / 0.7346 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001338/0.01017, allocations: 148 kB / 0.7348 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001664/0.01034, allocations: 172.7 kB / 0.7349 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001006/0.01135, allocations: 1.063 MB / 0.736 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003718/0.01174, allocations: 472.6 kB / 0.7364 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of Inline: time 0.0007522/0.01249, allocations: 0.8346 MB / 0.7372 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of Partitioning: time 3.313e-05/0.01254, allocations: 37.42 kB / 0.7373 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of Cleanup: time 3.382e-05/0.01258, allocations: 43.88 kB / 0.7373 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001114/0.01369, allocations: 1.301 MB / 0.7386 GB, free: 7.828 MB / 0.5762 GB 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 = Buildings.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!