Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503.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.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 113 kB / 17.75 MB, free: 5.352 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.001044/0.001044, allocations: 188.8 kB / 18.68 MB, free: 4.426 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.58/1.58, allocations: 205.1 MB / 224.5 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.3243/0.3243, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.663e-05, allocations: 2.281 kB / 451.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180503): time 0.4592/0.4593, allocations: 136.8 MB / 0.5742 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05564/0.515, allocations: 41.05 MB / 0.6143 GB, free: 412 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006024/0.521, allocations: 63.03 kB / 0.6143 GB, free: 388 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007789/0.5289, allocations: 1.585 MB / 0.6159 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.5428, allocations: 3.442 MB / 0.6192 GB, free: 12.23 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:3856:5-3857:44:writable] Warning: In relation Plant.Drum.gl == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:3858:5-3859:44:writable] Warning: In relation Plant.Drum.gv == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.04477/0.5876, allocations: 12.19 MB / 0.6311 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02026/0.6078, allocations: 12.69 MB / 0.6435 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008983/0.6169, allocations: 3.98 MB / 0.6474 GB, free: 284 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.6339, allocations: 5.69 MB / 0.653 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.6455, allocations: 4.95 MB / 0.6578 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00448/0.65, allocations: 0.9492 MB / 0.6587 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0277/0.6777, allocations: 9.187 MB / 0.6677 GB, free: 11.46 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.01953/0.6973, allocations: 10.17 MB / 0.6776 GB, free: 1.211 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.007879/0.7052, allocations: 5.051 MB / 0.6826 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00317/0.7084, allocations: 0.7557 MB / 0.6833 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.001131/0.7096, allocations: 95.75 kB / 0.6834 GB, free: 11.25 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1223 (624) * Number of variables: 1923 (705) Notification: Performance of Bindings: time 0.05009/0.7597, allocations: 35.63 MB / 0.7182 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.006665/0.7664, allocations: 3.618 MB / 0.7217 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.4722/1.239, allocations: 33.26 MB / 0.7542 GB, free: 73.56 MB / 0.545 GB Notification: Performance of simplify1: time 0.002511/1.241, allocations: 0.8765 MB / 0.7551 GB, free: 73.56 MB / 0.545 GB Notification: Performance of Alias: time 0.03501/1.276, allocations: 19.23 MB / 0.7738 GB, free: 69.96 MB / 0.545 GB Notification: Performance of simplify2: time 0.002181/1.278, allocations: 0.7875 MB / 0.7746 GB, free: 69.95 MB / 0.545 GB Notification: Performance of Events: time 0.01401/1.292, allocations: 7.769 MB / 0.7822 GB, free: 68.46 MB / 0.545 GB Notification: Performance of Detect States: time 0.013/1.306, allocations: 6.389 MB / 0.7884 GB, free: 68.09 MB / 0.545 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.Tsat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.