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.001155/0.001155, allocations: 102.4 kB / 17.63 MB, free: 5.383 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.001113/0.001113, allocations: 189.5 kB / 18.56 MB, free: 4.465 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.21/1.21, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2675/0.2675, allocations: 48.84 MB / 320.6 MB, free: 11.1 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.034e-05, allocations: 4.031 kB / 390.8 MB, free: 48.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180503): time 0.09527/0.09531, allocations: 136.8 MB / 0.5152 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2589/0.3542, allocations: 41.03 MB / 0.5553 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005105/0.3594, allocations: 63.28 kB / 0.5553 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.3639, allocations: 1.587 MB / 0.5569 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.3753, allocations: 3.45 MB / 0.5602 GB, free: 5.652 MB / 414.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.03837/0.4137, allocations: 12.19 MB / 0.5721 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02079/0.4346, allocations: 14.56 MB / 0.5864 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008044/0.4427, allocations: 3.983 MB / 0.5903 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/0.4551, allocations: 5.597 MB / 0.5957 GB, free: 476 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.4652, allocations: 4.96 MB / 0.6006 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003712/0.4689, allocations: 0.9514 MB / 0.6015 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02664/0.4956, allocations: 9.042 MB / 0.6103 GB, free: 4.434 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.01769/0.5133, allocations: 10.12 MB / 0.6202 GB, free: 10.58 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.006162/0.5195, allocations: 5.006 MB / 0.6251 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003113/0.5227, allocations: 0.7557 MB / 0.6258 GB, free: 4.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.001266/0.5239, allocations: 95.75 kB / 0.6259 GB, free: 4.855 MB / 446.1 MB Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1251 (636) * Number of variables: 1223 (705) Notification: Performance of Bindings: time 0.03611/0.5601, allocations: 28.85 MB / 0.6541 GB, free: 7.602 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.01202/0.5721, allocations: 11.52 MB / 0.6653 GB, free: 10.45 MB / 494.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_51.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_51.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_68.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_68.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_96.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_96.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_113.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_113.Tsat Notification: Performance of Early Inline: time 0.01174/0.5839, allocations: 8.075 MB / 0.6732 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simplify1: time 0.001743/0.5857, allocations: 1.005 MB / 0.6742 GB, free: 1.172 MB / 494.1 MB Notification: Performance of Alias: time 0.02907/0.6147, allocations: 18.97 MB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplify2: time 0.001561/0.6163, allocations: 0.8382 MB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Events: time 0.01591/0.6323, allocations: 14.04 MB / 0.7073 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of Detect States: time 0.01166/0.644, allocations: 7.375 MB / 0.7145 GB, free: 4.625 MB / 0.5294 GB Error: Internal error NBVariable.getVarPointer failed for sat.psat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.