Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001194/0.001194, allocations: 111.7 kB / 16.42 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.001235/0.001235, allocations: 191.8 kB / 17.36 MB, free: 5.707 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.169/1.169, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.914/1.914, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.579e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02012/0.02015, allocations: 20.74 MB / 0.9717 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.02597, allocations: 4.959 MB / 0.9765 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.02632, allocations: 15.88 kB / 0.9766 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.02693, allocations: 286 kB / 0.9768 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.02837, allocations: 0.8512 MB / 0.9777 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.0297, allocations: 0.7158 MB / 0.9784 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.03095, allocations: 1.382 MB / 0.9797 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.03147, allocations: 464.2 kB / 0.9801 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.0322, allocations: 0.5956 MB / 0.9807 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.03266, allocations: 442.2 kB / 0.9812 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.03273, allocations: 36 kB / 0.9812 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.03355, allocations: 0.6355 MB / 0.9818 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of combineBinaries: time 0.0006103/0.03417, allocations: 0.9699 MB / 0.9828 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of replaceArrayConstructors: time 0.0003165/0.03449, allocations: 0.6282 MB / 0.9834 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.03458, allocations: 95.69 kB / 0.9835 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.412e-05/0.03465, allocations: 23.88 kB / 0.9835 GB, free: 6.793 MB / 0.7637 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.00183/0.03649, allocations: 2.428 MB / 0.9859 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0001492/0.03665, allocations: 135.7 kB / 0.986 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.000834/0.03749, allocations: 1.034 MB / 0.987 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of simplify1: time 7.77e-05/0.03758, allocations: 91.88 kB / 0.9871 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of Alias: time 0.001209/0.03879, allocations: 1.248 MB / 0.9883 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of simplify2: time 6.738e-05/0.03887, allocations: 79.91 kB / 0.9884 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0001934/0.03907, allocations: 247.4 kB / 0.9886 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of Events: time 0.0001699/0.03924, allocations: 160.7 kB / 0.9888 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0003322/0.03959, allocations: 390.7 kB / 0.9891 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of Causalize: time 0.001322/0.04092, allocations: 1.434 MB / 0.9905 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.000629/0.04155, allocations: 0.7804 MB / 0.9913 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Inline: time 0.001382/0.04295, allocations: 1.69 MB / 0.9929 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Partitioning: time 8.295e-05/0.04304, allocations: 95.47 kB / 0.993 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0001335/0.04318, allocations: 179.6 kB / 0.9932 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of Causalize: time 0.004218/0.0474, allocations: 4.503 MB / 0.9976 GB, free: 7.75 MB / 0.7794 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!