Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001584, allocations: 112.3 kB / 16.43 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.001425/0.001425, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04428/0.04428, allocations: 9.099 MB / 279.7 MB, free: 2.961 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.278e-05, allocations: 2.281 kB / 388.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.0197/0.01975, allocations: 17.92 MB / 406 MB, free: 34.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.03327, allocations: 17 MB / 423 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.03359, allocations: 1.5 kB / 423 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.03446, allocations: 302.4 kB / 423.3 MB, free: 20.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.03507, allocations: 239.9 kB / 423.5 MB, free: 19.97 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01935/0.05443, allocations: 7.474 MB / 431 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.05493, allocations: 318.4 kB / 431.3 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.05499, allocations: 4 kB / 431.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.05518, allocations: 123.5 kB / 431.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.05529, allocations: 75.66 kB / 431.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.05531, allocations: 4 kB / 431.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.07244, allocations: 10.07 MB / 441.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003045/0.07278, allocations: 256.9 kB / 441.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.432e-05/0.07288, allocations: 201.2 kB / 442 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.07296, allocations: 24 kB / 442 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.827e-05/0.07302, allocations: 3.938 kB / 442 MB, free: 1.758 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 (9) * Number of variables: 45 (45) Notification: Performance of Bindings: time 0.0008479/0.07387, allocations: 1.053 MB / 443.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001535/0.07403, allocations: 147.4 kB / 443.2 MB, free: 460 kB / 318.1 MB Notification: Performance of Early Inline: time 0.0006867/0.07473, allocations: 0.7991 MB / 444 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplify1: time 5.876e-05/0.0748, allocations: 51.92 kB / 444.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Alias: time 0.0005941/0.0754, allocations: 465.2 kB / 444.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplify2: time 5.462e-05/0.07546, allocations: 51.94 kB / 444.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Detect States: time 0.0001865/0.07566, allocations: 195.1 kB / 444.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Events: time 0.0001084/0.07577, allocations: 75.02 kB / 444.8 MB, free: 14.73 MB / 334.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.s, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.