Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009522, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.0008679/0.0008678, allocations: 183.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.157/2.157, allocations: 461.9 MB / 0.7354 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.519e-05, allocations: 2.5 kB / 1.055 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.0168/0.01682, allocations: 20.76 MB / 1.075 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.423/0.4399, allocations: 4.939 MB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.4404, allocations: 21.38 kB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.441, allocations: 274 kB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.4425, allocations: 0.8138 MB / 1.081 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.4439, allocations: 0.7122 MB / 1.081 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.4452, allocations: 1.386 MB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.4457, allocations: 459.6 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.4464, allocations: 0.5927 MB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.447, allocations: 437.7 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.4471, allocations: 36.16 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009028/0.448, allocations: 0.6398 MB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005702/0.4485, allocations: 0.9745 MB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002572/0.4488, allocations: 0.6307 MB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.938e-05/0.4489, allocations: 94 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.356e-05/0.449, allocations: 25.2 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 (65) * Number of variables: 71 (62) Notification: Performance of Bindings: time 0.001688/0.4507, allocations: 2.423 MB / 1.089 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001489/0.4508, allocations: 139.2 kB / 1.089 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0008654/0.4517, allocations: 1.028 MB / 1.09 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of simplify1: time 9.345e-05/0.4518, allocations: 92.98 kB / 1.09 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of Alias: time 0.001244/0.453, allocations: 1.249 MB / 1.091 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simplify2: time 8.338e-05/0.4531, allocations: 77.92 kB / 1.092 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of Events: time 0.0001682/0.4533, allocations: 154.1 kB / 1.092 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002274/0.4535, allocations: 282.4 kB / 1.092 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003355/0.4539, allocations: 393.1 kB / 1.092 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001513/0.4554, allocations: 1.423 MB / 1.094 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006409/0.4561, allocations: 0.7849 MB / 1.094 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of Inline: time 0.001473/0.4575, allocations: 1.694 MB / 1.096 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.845e-05/0.4576, allocations: 94.7 kB / 1.096 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001722/0.4578, allocations: 188.2 kB / 1.096 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004611/0.4624, allocations: 4.506 MB / 1.101 GB, free: 4.195 MB / 0.8419 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!