Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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,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") 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_latest_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.00115/0.00115, allocations: 109.3 kB / 16.42 MB, free: 6.047 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.001092/0.001092, allocations: 193.5 kB / 17.36 MB, free: 5.617 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.245/2.245, allocations: 472.6 MB / 0.7459 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.326e-05, allocations: 2.281 kB / 1.07 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002708/0.002729, allocations: 2.031 MB / 1.072 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.004878, allocations: 1.657 MB / 1.074 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.004954, allocations: 4 kB / 1.074 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/0.005011, allocations: 15.8 kB / 1.074 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.005118, allocations: 51.55 kB / 1.074 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.006053, allocations: 358.8 kB / 1.074 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.006293, allocations: 239.1 kB / 1.074 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.006449, allocations: 49.47 kB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.006575, allocations: 87.7 kB / 1.074 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.006704, allocations: 87.67 kB / 1.075 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.006741, allocations: 23.94 kB / 1.075 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000664/0.007411, allocations: 407.5 kB / 1.075 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001814/0.007602, allocations: 257.5 kB / 1.075 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 7.512e-05/0.007682, allocations: 141.8 kB / 1.075 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.007723, allocations: 23.94 kB / 1.075 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.315e-05/0.00775, allocations: 3.938 kB / 1.075 GB, free: 4.246 MB / 0.8419 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.0006959/0.008451, allocations: 0.8755 MB / 1.076 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001154/0.008571, allocations: 67.72 kB / 1.076 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.000588/0.009166, allocations: 0.7063 MB / 1.077 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of simplify1: time 2.61e-05/0.0092, allocations: 23.95 kB / 1.077 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of Alias: time 0.001032/0.01024, allocations: 0.9683 MB / 1.078 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of simplify2: time 1.619e-05/0.01026, allocations: 3.984 kB / 1.078 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001341/0.0104, allocations: 140 kB / 1.078 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of Events: time 0.0001419/0.01055, allocations: 108.8 kB / 1.078 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001851/0.01074, allocations: 202.1 kB / 1.078 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006424/0.01139, allocations: 0.6469 MB / 1.079 GB, free: 200 kB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.419/0.4304, allocations: 0.4965 MB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of Inline: time 0.0008612/0.4313, allocations: 0.925 MB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.949e-05/0.4313, allocations: 35.09 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.266e-05/0.4314, allocations: 53.33 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009358/0.4323, allocations: 0.8441 MB / 1.081 GB, free: 14.07 MB / 0.8419 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!