Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504.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.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.5 kB / 17.75 MB, free: 5.324 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.001065/0.001065, allocations: 184.2 kB / 18.68 MB, free: 4.41 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.142/1.142, 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.2327/0.2327, allocations: 48.84 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.114e-05, allocations: 2.281 kB / 451.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180504): time 0.2684/0.2685, allocations: 136.8 MB / 0.5742 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03603/0.3045, allocations: 41.06 MB / 0.6143 GB, free: 388 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.3073, allocations: 62.94 kB / 0.6143 GB, free: 364 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.3104, allocations: 1.582 MB / 0.6159 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.3164, allocations: 3.435 MB / 0.6192 GB, free: 12.21 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.02437/0.3408, allocations: 12.21 MB / 0.6311 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.3537, allocations: 12.68 MB / 0.6435 GB, free: 4.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00463/0.3584, allocations: 3.972 MB / 0.6474 GB, free: 296 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/0.3654, allocations: 5.69 MB / 0.653 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/0.3702, allocations: 4.962 MB / 0.6578 GB, free: 5.605 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.3713, allocations: 0.9453 MB / 0.6587 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/0.3865, allocations: 9.175 MB / 0.6677 GB, free: 11.48 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.008694/0.3952, allocations: 10.17 MB / 0.6776 GB, free: 1.223 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.003338/0.3986, allocations: 5.063 MB / 0.6826 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009537/0.3995, allocations: 0.7557 MB / 0.6833 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0006592/0.4002, allocations: 83.88 kB / 0.6834 GB, free: 11.26 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.03006/0.4303, allocations: 35.63 MB / 0.7182 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.003198/0.4335, allocations: 3.616 MB / 0.7217 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.2345/0.668, allocations: 33.26 MB / 0.7542 GB, free: 73.45 MB / 0.545 GB Notification: Performance of simplify1: time 0.001421/0.6694, allocations: 0.8763 MB / 0.7551 GB, free: 73.45 MB / 0.545 GB Notification: Performance of Alias: time 0.0222/0.6916, allocations: 19.23 MB / 0.7738 GB, free: 69.88 MB / 0.545 GB Notification: Performance of simplify2: time 0.00122/0.6929, allocations: 0.7857 MB / 0.7746 GB, free: 69.85 MB / 0.545 GB Notification: Performance of Events: time 0.008472/0.7014, allocations: 7.772 MB / 0.7822 GB, free: 68.37 MB / 0.545 GB Notification: Performance of Detect States: time 0.006226/0.7076, allocations: 6.385 MB / 0.7884 GB, free: 68 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.