Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 107 kB / 16.42 MB, free: 6.523 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.001187/0.001187, allocations: 185.9 kB / 17.36 MB, free: 5.746 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.348/1.348, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4378/0.4378, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/1.952e-05, allocations: 9.453 kB / 0.5043 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.4302/0.4302, allocations: 182.4 MB / 0.6824 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.4347, allocations: 3.175 MB / 0.6855 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.4349, allocations: 8 kB / 0.6855 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.4357, allocations: 254.5 kB / 0.6858 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.4364, allocations: 417.7 kB / 0.6862 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.4396, allocations: 1.297 MB / 0.6874 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.4408, allocations: 1.213 MB / 0.6886 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.441, allocations: 156 kB / 0.6888 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.4426, allocations: 0.9025 MB / 0.6896 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.443, allocations: 371.6 kB / 0.69 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.4431, allocations: 64 kB / 0.6901 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.4451, allocations: 1.259 MB / 0.6913 GB, free: 14.88 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0006847/0.4458, allocations: 0.8906 MB / 0.6922 GB, free: 13.98 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0003193/0.4461, allocations: 0.5142 MB / 0.6927 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.4462, allocations: 95.81 kB / 0.6928 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.419e-05/0.4462, allocations: 11.94 kB / 0.6928 GB, free: 13.36 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 (101) * Number of variables: 104 (98) Notification: Performance of Bindings: time 0.002287/0.4485, allocations: 2.549 MB / 0.6953 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0002139/0.4487, allocations: 196.4 kB / 0.6954 GB, free: 10.51 MB / 0.545 GB Notification: Performance of Early Inline: time 0.001476/0.4502, allocations: 1.561 MB / 0.697 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simplify1: time 0.0001289/0.4504, allocations: 127.8 kB / 0.6971 GB, free: 8.797 MB / 0.545 GB Notification: Performance of Alias: time 0.001714/0.4521, allocations: 1.578 MB / 0.6986 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simplify2: time 0.0001104/0.4522, allocations: 119.8 kB / 0.6987 GB, free: 6.98 MB / 0.545 GB Notification: Performance of Events: time 0.0002541/0.4525, allocations: 218.8 kB / 0.699 GB, free: 6.766 MB / 0.545 GB Notification: Performance of Detect States: time 0.0004137/0.4529, allocations: 419.3 kB / 0.6994 GB, free: 6.34 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0006279/0.4535, allocations: 0.6292 MB / 0.7 GB, free: 5.633 MB / 0.545 GB Notification: Performance of Causalize: time 0.003594/0.4571, allocations: 3.896 MB / 0.7038 GB, free: 1.738 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.001151/0.4583, allocations: 1.261 MB / 0.705 GB, free: 460 kB / 0.545 GB Notification: Performance of Inline: time 0.002144/0.4605, allocations: 2.315 MB / 0.7073 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001377/0.4606, allocations: 119.6 kB / 0.7074 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0001084/0.4607, allocations: 111.8 kB / 0.7075 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of Causalize: time 0.003848/0.4646, allocations: 4.35 MB / 0.7117 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0006023/0.4652, allocations: 0.6642 MB / 0.7124 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of Initialization: time 8.02e-07/0.4652, allocations: 0 / 0.7124 GB, free: 8.887 MB / 0.5606 GB Error: Internal error NBVariable.getVarPointer failed for n[1], because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.