Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001059/0.001059, allocations: 113.1 kB / 16.42 MB, free: 6.523 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.001065/0.001065, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.166/1.166, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.089/2.089, allocations: 437 MB / 0.7111 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.298e-05, allocations: 6.438 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002415/0.002437, allocations: 2.039 MB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.004494, allocations: 1.671 MB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.004565, allocations: 4 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.397e-05/0.004624, allocations: 15.8 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.004729, allocations: 51.55 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008955/0.005637, allocations: 362.8 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.005868, allocations: 235.1 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.005992, allocations: 49.47 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.006098, allocations: 83.72 kB / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.006216, allocations: 83.73 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.006249, allocations: 19.94 kB / 1.024 GB, free: 4.844 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006243/0.006878, allocations: 415.5 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001887/0.007076, allocations: 253.5 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 7.441e-05/0.007156, allocations: 142.5 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.007193, allocations: 23.94 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.902e-05/0.007217, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.795 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.0007432/0.007964, allocations: 0.8794 MB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of FunctionAlias: time 0.0001049/0.008074, allocations: 76.28 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0006138/0.008694, allocations: 0.7024 MB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simplify1: time 2.703e-05/0.008729, allocations: 27.95 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of Alias: time 0.001008/0.009742, allocations: 0.9527 MB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of simplify2: time 1.99e-05/0.009771, allocations: 15.97 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001362/0.009912, allocations: 142.2 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of Events: time 0.0001461/0.01007, allocations: 112.9 kB / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001823/0.01025, allocations: 189.1 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of Causalize: time 0.0006705/0.01093, allocations: 0.648 MB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 0.0004286/0.01137, allocations: 0.4927 MB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of Inline: time 0.0007701/0.01215, allocations: 0.9336 MB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of Partitioning: time 3.898e-05/0.01219, allocations: 46.3 kB / 1.029 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Cleanup: time 4.352e-05/0.01224, allocations: 39.95 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of Causalize: time 0.0008921/0.01314, allocations: 0.86 MB / 1.03 GB, free: 13.52 MB / 0.8106 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1) ($RES_SIM_19)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!