Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 115.4 kB / 16.43 MB, free: 6.516 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.00122/0.00122, allocations: 179.2 kB / 17.35 MB, free: 5.711 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.193/1.193, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.324/2.324, allocations: 469.8 MB / 0.7432 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.775e-05, allocations: 6.219 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002566/0.002592, allocations: 2.039 MB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.004677, allocations: 1.668 MB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.004737, allocations: 4 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.529e-05/0.004797, allocations: 15.8 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.004896, allocations: 51.55 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.005709, allocations: 362.8 kB / 1.07 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.005937, allocations: 247.1 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.006059, allocations: 37.53 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.006158, allocations: 79.78 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.006279, allocations: 99.64 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.006315, allocations: 20 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006346/0.006955, allocations: 399.5 kB / 1.071 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002012/0.007167, allocations: 277.3 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.249e-05/0.007255, allocations: 138 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.007288, allocations: 27.94 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.137e-05/0.007313, allocations: 7.938 kB / 1.071 GB, free: 8.137 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: 38 (38) * Number of variables: 38 (38) Notification: Performance of Bindings: time 0.0007083/0.008028, allocations: 0.7542 MB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001049/0.008138, allocations: 57.92 kB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.000607/0.008752, allocations: 0.6437 MB / 1.073 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of simplify1: time 7.546e-05/0.008837, allocations: 75.78 kB / 1.073 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008789/0.009723, allocations: 0.7103 MB / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of simplify2: time 4.745e-05/0.00978, allocations: 52.5 kB / 1.073 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000151/0.009937, allocations: 142 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of Events: time 0.0001793/0.01013, allocations: 140.8 kB / 1.074 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001832/0.01032, allocations: 176.3 kB / 1.074 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006062/0.01093, allocations: 0.5037 MB / 1.074 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004135/0.01135, allocations: 476.4 kB / 1.075 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007803/0.01214, allocations: 0.871 MB / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.791e-05/0.01218, allocations: 22.36 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001273/0.01231, allocations: 159 kB / 1.076 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007836/0.0131, allocations: 0.6355 MB / 1.076 GB, free: 2.289 MB / 0.8419 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_26)if com.isOn then [----] [SCAL] (1) com.PThe = com.V_flow_nominal * com.pSuc * ((com.k * com.v_norm) / (com.k - 1.0)) * (((1.0 / com.k) * com.PRInt ^ ((com.k - 1.0) / com.k) + (com.PR * ((com.k - 1.0) / com.k)) / com.volRat) - 1.0) ($RES_SIM_27) [----] else [----] [SCAL] (1) com.PThe = 0.0 ($RES_SIM_28) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!