Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.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.001188/0.001188, allocations: 110.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.001177/0.001177, allocations: 190 kB / 17.36 MB, free: 5.699 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.178/1.178, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.22/2.22, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.831e-05, allocations: 2.281 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002555/0.00258, allocations: 2.042 MB / 1.057 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.00466, allocations: 1.661 MB / 1.058 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.004745, allocations: 0 / 1.058 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.489e-05/0.004805, allocations: 19.84 kB / 1.058 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004918, allocations: 47.55 kB / 1.058 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009244/0.005858, allocations: 358.8 kB / 1.059 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.006097, allocations: 239.1 kB / 1.059 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.00623, allocations: 57.45 kB / 1.059 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.006339, allocations: 79.78 kB / 1.059 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.006468, allocations: 87.72 kB / 1.059 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.006502, allocations: 20 kB / 1.059 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.007132, allocations: 411.5 kB / 1.06 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001695/0.007312, allocations: 253.5 kB / 1.06 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.012e-05/0.007388, allocations: 138 kB / 1.06 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.007423, allocations: 27.94 kB / 1.06 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.537e-05/0.007453, allocations: 7.938 kB / 1.06 GB, free: 2.285 MB / 0.8262 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.0006943/0.008151, allocations: 0.8333 MB / 1.061 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001028/0.008261, allocations: 72.59 kB / 1.061 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0005658/0.008833, allocations: 0.6467 MB / 1.061 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of simplify1: time 3.196e-05/0.008873, allocations: 35.94 kB / 1.061 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of Alias: time 0.001022/0.009901, allocations: 0.9293 MB / 1.062 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simplify2: time 1.687e-05/0.009928, allocations: 11.98 kB / 1.062 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Events: time 0.0001473/0.01008, allocations: 104.9 kB / 1.062 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002486/0.01034, allocations: 148.1 kB / 1.063 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001702/0.01051, allocations: 169.6 kB / 1.063 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006025/0.01112, allocations: 0.6118 MB / 1.063 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003619/0.01149, allocations: 472.5 kB / 1.064 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of Inline: time 0.0006794/0.01218, allocations: 0.8384 MB / 1.065 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.296e-05/0.01222, allocations: 29.25 kB / 1.065 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.877e-05/0.01226, allocations: 41.08 kB / 1.065 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008176/0.01309, allocations: 0.8184 MB / 1.066 GB, free: 12.15 MB / 0.8419 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_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!