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.001234/0.001234, allocations: 113.6 kB / 16.43 MB, free: 6.5 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.001346/0.001346, allocations: 187.7 kB / 17.36 MB, free: 5.754 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.048/1.048, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.03958/0.03958, allocations: 9.085 MB / 279.7 MB, free: 2.969 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.49e-05, allocations: 2.984 kB / 388.1 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01315/0.01318, allocations: 17.92 MB / 406 MB, free: 34.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009761/0.02295, allocations: 17 MB / 423 MB, free: 20.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.02304, allocations: 1.344 kB / 423 MB, free: 20.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.02356, allocations: 273.4 kB / 423.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.0239, allocations: 212.9 kB / 423.4 MB, free: 20.05 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.0105/0.03444, allocations: 7.106 MB / 430.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.03465, allocations: 314.4 kB / 430.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.03468, allocations: 7.984 kB / 430.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.03482, allocations: 127.5 kB / 431 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.03491, allocations: 71.67 kB / 431.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.03492, allocations: 4 kB / 431.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008284/0.04321, allocations: 10.06 MB / 441.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000124/0.04335, allocations: 260.9 kB / 441.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.408e-05/0.04341, allocations: 197.2 kB / 441.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.04344, allocations: 28 kB / 441.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.58e-05/0.04346, allocations: 4 kB / 441.6 MB, free: 2.176 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.0005447/0.04401, allocations: 1.056 MB / 442.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001072/0.04412, allocations: 153.5 kB / 442.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004526/0.04458, allocations: 0.7991 MB / 443.6 MB, free: 36 kB / 318.1 MB Notification: Performance of simplify1: time 6.15e-05/0.04465, allocations: 48.02 kB / 443.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Alias: time 0.0004842/0.04514, allocations: 462.7 kB / 444.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simplify2: time 4.389e-05/0.04519, allocations: 55.92 kB / 444.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Events: time 8.489e-05/0.04528, allocations: 74.08 kB / 444.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Detect States: time 0.0001624/0.04545, allocations: 197.7 kB / 444.4 MB, free: 15.15 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.