Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim120501.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.CISESim120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim120501") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 102.7 kB / 17.63 MB, free: 5.527 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.001151/0.001151, allocations: 193.9 kB / 18.56 MB, free: 4.602 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.2/1.2, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2776/0.2776, allocations: 48.84 MB / 320.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.318e-05, allocations: 2.844 kB / 390.8 MB, free: 48.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim120501): time 0.1018/0.1018, allocations: 136.8 MB / 0.5152 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2071/0.309, allocations: 41.03 MB / 0.5552 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.3119, allocations: 64.41 kB / 0.5553 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.3148, allocations: 1.588 MB / 0.5568 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006125/0.321, allocations: 3.445 MB / 0.5602 GB, free: 5.25 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.02657/0.3475, allocations: 12.2 MB / 0.5721 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01529/0.3628, allocations: 14.56 MB / 0.5863 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.3669, allocations: 3.982 MB / 0.5902 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006901/0.3738, allocations: 5.597 MB / 0.5957 GB, free: 48 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006639/0.3805, allocations: 4.961 MB / 0.6005 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.3818, allocations: 0.9547 MB / 0.6015 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/0.3993, allocations: 9.039 MB / 0.6103 GB, free: 4.27 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.01173/0.4111, allocations: 10.12 MB / 0.6202 GB, free: 10.42 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.004961/0.416, allocations: 5.005 MB / 0.6251 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.4187, allocations: 0.7557 MB / 0.6258 GB, free: 4.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.001001/0.4197, allocations: 91.75 kB / 0.6259 GB, free: 4.699 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.03016/0.4499, allocations: 28.86 MB / 0.6541 GB, free: 7.445 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.01126/0.4612, allocations: 11.51 MB / 0.6653 GB, free: 10.3 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.01317/0.4744, allocations: 8.067 MB / 0.6732 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simplify1: time 0.001479/0.4759, allocations: 1.012 MB / 0.6742 GB, free: 1.02 MB / 494.1 MB Notification: Performance of Alias: time 0.02491/0.5008, allocations: 18.97 MB / 0.6927 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simplify2: time 0.001935/0.5028, allocations: 0.849 MB / 0.6935 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Events: time 0.01309/0.5159, allocations: 14.02 MB / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of Detect States: time 0.008646/0.5246, allocations: 7.376 MB / 0.7144 GB, free: 4.473 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.