Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 84.88 kB / 20.82 MB, free: 3.648 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 173 kB / 24.24 MB, free: 228 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 177.1 MB / 204.7 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.1025/0.1025, allocations: 11.37 MB / 272.5 MB, free: 2.191 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.278e-05, allocations: 3.516 kB / 291.7 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium): time 0.0812/0.08122, allocations: 64.35 MB / 356.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.07568/0.1569, allocations: 56.4 MB / 412.5 MB, free: 88 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.158, allocations: 23.81 kB / 412.5 MB, free: 64 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.1597, allocations: 0.5441 MB / 413 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0593/0.219, allocations: 18.44 MB / 431.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02511/0.2441, allocations: 7.981 MB / 439.5 MB, free: 4.969 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.3911/0.6352, allocations: 141.4 MB / 0.5672 GB, free: 6.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.6354, allocations: 30.58 kB / 0.5672 GB, free: 6.059 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.6399, allocations: 1.736 MB / 0.5689 GB, free: 4.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3614/1.001, allocations: 148.9 MB / 0.7144 GB, free: 61.41 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/1.002, allocations: 96 kB / 0.7145 GB, free: 61.32 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04691/1.049, allocations: 23.07 MB / 0.737 GB, free: 40.23 MB / 474.7 MB Notification: Performance of combineBinaries: time 0.002976/1.052, allocations: 2.293 MB / 0.7392 GB, free: 38.09 MB / 474.7 MB Notification: Performance of replaceArrayConstructors: time 0.0007044/1.052, allocations: 1.126 MB / 0.7403 GB, free: 37.02 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/1.053, allocations: 168 kB / 0.7405 GB, free: 36.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.724e-05/1.053, allocations: 8 kB / 0.7405 GB, free: 36.85 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 675 (255) * Number of variables: 675 (45) Notification: Performance of [SIM] Bindings: time 0.007268/1.06, allocations: 9.338 MB / 0.7496 GB, free: 27.74 MB / 474.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.003179/1.063, allocations: 2.776 MB / 0.7523 GB, free: 25.23 MB / 474.7 MB Notification: Performance of [SIM] Early Inline: time 0.01646/1.08, allocations: 18.36 MB / 0.7703 GB, free: 7.461 MB / 474.7 MB Notification: Performance of [SIM] Simplify 1: time 0.001134/1.081, allocations: 0.8064 MB / 0.7711 GB, free: 6.57 MB / 474.7 MB Notification: Performance of [SIM] Alias: time 0.002746/1.083, allocations: 3.035 MB / 0.774 GB, free: 3.488 MB / 474.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0009544/1.084, allocations: 0.7985 MB / 0.7748 GB, free: 2.609 MB / 474.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0007909/1.085, allocations: 0.8232 MB / 0.7756 GB, free: 1.691 MB / 474.7 MB Notification: Performance of [SIM] Detect States: time 0.1686/1.254, allocations: 2.269 MB / 0.7778 GB, free: 104.2 MB / 474.7 MB Notification: Performance of [SIM] Events: time 0.001142/1.255, allocations: 1.054 MB / 0.7789 GB, free: 104.2 MB / 474.7 MB Notification: Performance of [SIM] Partitioning: time 0.005354/1.26, allocations: 3.929 MB / 0.7827 GB, free: 103.4 MB / 474.7 MB Notification: Performance of [SIM] Causalize: time 0.03431/1.295, allocations: 30.44 MB / 0.8124 GB, free: 96.44 MB / 474.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0117/1.306, allocations: 14.16 MB / 0.8262 GB, free: 96.44 MB / 474.7 MB Notification: Performance of [INI] Simplify: time 0.008601/1.315, allocations: 5.472 MB / 0.8316 GB, free: 94.52 MB / 474.7 MB Notification: Performance of [INI] Inline: time 0.02443/1.339, allocations: 27.27 MB / 0.8582 GB, free: 82.27 MB / 474.7 MB Notification: Performance of [INI] Partitioning: time 0.001004/1.34, allocations: 332.8 kB / 0.8585 GB, free: 82.02 MB / 474.7 MB Notification: Performance of [INI] Cleanup: time 0.002466/1.343, allocations: 3.623 MB / 0.8621 GB, free: 79.78 MB / 474.7 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DDER] (1) Real $DER.$FUN_68 (StateSelect = avoid) [DDER] (1) Real $DER.$FUN_66 (StateSelect = avoid) [RECD] (7) HelmholtzMedia.HelmholtzFluids.Helium.ThermodynamicState $FUN_61.liq [RECD] (7) HelmholtzMedia.HelmholtzFluids.Helium.ThermodynamicState $FUN_61.vap [DER-] (43) Real[43] $DER.twoPhase.y_int Following equations were created by fixing variables: [FOR-] (4) ($RES_SRT_1119) [----] for $i14 in 36:1:39 loop [----] [SCAL] (1) twoPhase.y_start[$i14] = $START.twoPhase.y_start[$i14]; ($RES_SRT_1119) [----] end for; Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.9431761279702187]