Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 115.8 kB / 17.76 MB, free: 5.207 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.001144/0.001144, allocations: 189.8 kB / 18.68 MB, free: 4.285 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.226/1.226, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.251/0.251, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.634e-05, allocations: 2.281 kB / 451.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim2States120501): time 0.05975/0.05977, allocations: 69.15 MB / 0.5081 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/0.2721, allocations: 23.63 MB / 0.5312 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.2732, allocations: 31.06 kB / 0.5312 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.2748, allocations: 0.7345 MB / 0.532 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.2773, allocations: 1.521 MB / 0.5334 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01849/0.2958, allocations: 8.108 MB / 0.5414 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006462/0.3023, allocations: 5.444 MB / 0.5467 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.3038, allocations: 1.425 MB / 0.5481 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.307, allocations: 2.347 MB / 0.5504 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.3093, allocations: 2.002 MB / 0.5523 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005115/0.3098, allocations: 362.5 kB / 0.5527 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.3222, allocations: 7.339 MB / 0.5598 GB, free: 5.98 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003723/0.3259, allocations: 4.608 MB / 0.5643 GB, free: 3.734 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001122/0.3271, allocations: 2.575 MB / 0.5668 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.3276, allocations: 388.9 kB / 0.5672 GB, free: 2.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003266/0.328, allocations: 56.12 kB / 0.5673 GB, free: 2.125 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 (306) * Number of variables: 566 (341) Notification: Performance of Bindings: time 0.009366/0.3373, allocations: 11.93 MB / 0.5789 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.00159/0.3389, allocations: 1.715 MB / 0.5806 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Early Inline: time 0.008964/0.3479, allocations: 9.773 MB / 0.5901 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simplify1: time 0.0008179/0.3487, allocations: 0.5965 MB / 0.5907 GB, free: 1.598 MB / 430.1 MB Warning: NBAlias.setStartFixed: No variables are fixed and they have different start values. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.006895/0.3556, allocations: 5.786 MB / 0.5964 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simplify2: time 0.0006339/0.3562, allocations: 0.514 MB / 0.5969 GB, free: 10.94 MB / 446.1 MB Notification: Performance of Detect States: time 0.001819/0.3581, allocations: 2.014 MB / 0.5988 GB, free: 8.898 MB / 446.1 MB Notification: Performance of Events: time 0.00304/0.3611, allocations: 2.646 MB / 0.6014 GB, free: 6.32 MB / 446.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_8.Tsat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.