Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_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.001263/0.001264, allocations: 107 kB / 16.42 MB, free: 6.531 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.001164/0.001164, allocations: 190 kB / 17.36 MB, free: 5.727 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.148/1.148, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.888/1.888, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.794e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002492/0.002523, allocations: 2.033 MB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.004463, allocations: 1.657 MB / 0.9551 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.004523, allocations: 4 kB / 0.9551 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.004577, allocations: 19.73 kB / 0.9551 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.563e-05/0.004668, allocations: 51.55 kB / 0.9551 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.005438, allocations: 358.8 kB / 0.9555 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.005649, allocations: 239.1 kB / 0.9557 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.005777, allocations: 59.44 kB / 0.9558 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.005864, allocations: 75.78 kB / 0.9558 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005981, allocations: 91.66 kB / 0.9559 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.006013, allocations: 20 kB / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.006564, allocations: 407.5 kB / 0.9563 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001729/0.006747, allocations: 257.5 kB / 0.9566 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.25e-05/0.006816, allocations: 142 kB / 0.9567 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.006845, allocations: 23.94 kB / 0.9567 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.494e-05/0.006864, allocations: 0 / 0.9567 GB, free: 2.309 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 (36) * Number of variables: 36 (36) Notification: Performance of Bindings: time 0.0006818/0.00755, allocations: 0.8795 MB / 0.9576 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 9.099e-05/0.007647, allocations: 74.98 kB / 0.9577 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0005575/0.008211, allocations: 0.7063 MB / 0.9583 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simplify1: time 2.249e-05/0.008241, allocations: 23.97 kB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of Alias: time 0.0009547/0.009201, allocations: 0.9642 MB / 0.9593 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simplify2: time 1.236e-05/0.009223, allocations: 11.98 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0001205/0.009349, allocations: 132.1 kB / 0.9594 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of Events: time 0.0001387/0.009495, allocations: 104.9 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0001764/0.009678, allocations: 196.4 kB / 0.9597 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0006259/0.01031, allocations: 0.6498 MB / 0.9604 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0003832/0.0107, allocations: 0.5005 MB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of Inline: time 0.0007135/0.01142, allocations: 0.9336 MB / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of Partitioning: time 3.221e-05/0.01146, allocations: 34.38 kB / 0.9618 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of Cleanup: time 3.447e-05/0.0115, allocations: 47.88 kB / 0.9618 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of Causalize: time 0.000829/0.01234, allocations: 0.8484 MB / 0.9627 GB, free: 11.82 MB / 0.7481 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if com.isOn then [----] [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_20) [----] else [----] [SCAL] (1) com.k = 1.0 ($RES_SIM_21) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!