Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.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.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.00115/0.00115, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.4592/0.4592, allocations: 95.48 MB / 366.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.012e-05, allocations: 6.219 kB / 0.5042 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions): time 0.002309/0.002339, allocations: 1.289 MB / 0.5055 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003453, allocations: 0.6619 MB / 0.5061 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.003492, allocations: 0 / 0.5061 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.00352, allocations: 7.922 kB / 0.5061 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.003576, allocations: 3.938 kB / 0.5061 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.004153, allocations: 223.2 kB / 0.5064 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.004254, allocations: 31.8 kB / 0.5064 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.004302, allocations: 7.938 kB / 0.5064 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.004332, allocations: 15.92 kB / 0.5064 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.004389, allocations: 19.86 kB / 0.5064 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.004404, allocations: 0 / 0.5064 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.004758, allocations: 275.7 kB / 0.5067 GB, free: 9.348 MB / 398.1 MB Notification: Performance of combineBinaries: time 6.596e-05/0.004832, allocations: 59.31 kB / 0.5067 GB, free: 9.289 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 1.616e-05/0.004854, allocations: 27.56 kB / 0.5068 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.004873, allocations: 11.94 kB / 0.5068 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.402e-06/0.004884, allocations: 0 / 0.5068 GB, free: 9.25 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003461/0.005234, allocations: 268.4 kB / 0.507 GB, free: 8.887 MB / 398.1 MB Notification: Performance of FunctionAlias: time 7.171e-05/0.005312, allocations: 23.86 kB / 0.5071 GB, free: 8.863 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0001045/0.005423, allocations: 104.3 kB / 0.5072 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simplify1: time 1.867e-05/0.005448, allocations: 11.98 kB / 0.5072 GB, free: 8.723 MB / 398.1 MB Notification: Performance of Alias: time 0.0002807/0.005733, allocations: 164.8 kB / 0.5073 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simplify2: time 1.259e-05/0.005755, allocations: 11.98 kB / 0.5073 GB, free: 8.488 MB / 398.1 MB Notification: Performance of Events: time 5.602e-05/0.005815, allocations: 20.67 kB / 0.5074 GB, free: 8.469 MB / 398.1 MB Notification: Performance of Detect States: time 5.964e-05/0.005882, allocations: 40.22 kB / 0.5074 GB, free: 8.414 MB / 398.1 MB Notification: Performance of Partitioning: time 4.829e-05/0.005937, allocations: 28.12 kB / 0.5074 GB, free: 8.379 MB / 398.1 MB Notification: Performance of Causalize: time 0.0001621/0.006104, allocations: 128 kB / 0.5075 GB, free: 8.246 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 7.084e-05/0.006183, allocations: 80.39 kB / 0.5076 GB, free: 8.141 MB / 398.1 MB Notification: Performance of Inline: time 0.000125/0.006313, allocations: 140.5 kB / 0.5078 GB, free: 7.969 MB / 398.1 MB Notification: Performance of Partitioning: time 1.339e-05/0.006332, allocations: 20 kB / 0.5078 GB, free: 7.941 MB / 398.1 MB Notification: Performance of Cleanup: time 8.116e-06/0.006345, allocations: 0 / 0.5078 GB, free: 7.941 MB / 398.1 MB Notification: Performance of Causalize: time 0.0001499/0.006499, allocations: 137 kB / 0.5079 GB, free: 7.801 MB / 398.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBInitialization.main failed to apply modules!