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.00123/0.00123, allocations: 116.9 kB / 17.76 MB, free: 5.211 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.001272/0.001272, allocations: 188.7 kB / 18.69 MB, free: 4.289 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.241/1.241, 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.2439/0.2439, allocations: 48.83 MB / 320.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.693e-05, allocations: 6.219 kB / 451.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180504): time 0.2843/0.2843, allocations: 137 MB / 0.5744 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03853/0.3228, allocations: 41.11 MB / 0.6146 GB, free: 184 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.3255, allocations: 61.66 kB / 0.6146 GB, free: 160 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.3288, allocations: 1.612 MB / 0.6162 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007039/0.3358, allocations: 3.496 MB / 0.6196 GB, free: 11.96 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.0288/0.3646, allocations: 12.22 MB / 0.6315 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01395/0.3786, allocations: 12.7 MB / 0.6439 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006483/0.3851, allocations: 3.54 MB / 0.6474 GB, free: 360 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/0.393, allocations: 5.686 MB / 0.6529 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005682/0.3987, allocations: 4.962 MB / 0.6578 GB, free: 5.676 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.4001, allocations: 0.9453 MB / 0.6587 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/0.4165, allocations: 9.18 MB / 0.6677 GB, free: 11.54 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.009645/0.4262, allocations: 10.21 MB / 0.6776 GB, free: 1.254 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.003608/0.4298, allocations: 5.071 MB / 0.6826 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.4309, allocations: 0.7596 MB / 0.6833 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0008174/0.4317, allocations: 87.81 kB / 0.6834 GB, free: 11.27 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: 1223 (705) Notification: Performance of Bindings: time 0.0262/0.4579, allocations: 26.95 MB / 0.7097 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.005421/0.4634, allocations: 4.129 MB / 0.7138 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.03225/0.4956, allocations: 25.05 MB / 0.7382 GB, free: 2.477 MB / 0.545 GB Notification: Performance of simplify1: time 0.002276/0.4979, allocations: 1.258 MB / 0.7395 GB, free: 1.133 MB / 0.545 GB 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.2458/0.7437, allocations: 12.83 MB / 0.752 GB, free: 75.34 MB / 0.545 GB Notification: Performance of simplify2: time 0.002196/0.7459, allocations: 1.114 MB / 0.7531 GB, free: 75.09 MB / 0.545 GB Notification: Performance of Detect States: time 0.008459/0.7544, allocations: 5.324 MB / 0.7583 GB, free: 74.67 MB / 0.545 GB Notification: Performance of Events: time 0.009511/0.7639, allocations: 6.541 MB / 0.7647 GB, free: 73.39 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.