Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001145/0.001145, allocations: 110.3 kB / 16.43 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.00105/0.00105, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.161/1.161, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.098/2.098, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.463e-05, allocations: 4.75 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01757/0.01759, allocations: 20.75 MB / 1.039 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005719/0.02334, allocations: 4.955 MB / 1.044 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.02371, allocations: 19.88 kB / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.02433, allocations: 278 kB / 1.045 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.02582, allocations: 0.8563 MB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.02727, allocations: 0.7143 MB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.02861, allocations: 1.394 MB / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.02912, allocations: 452.3 kB / 1.048 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.02984, allocations: 0.5994 MB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.0303, allocations: 434.3 kB / 1.049 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.03037, allocations: 36 kB / 1.049 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008651/0.03125, allocations: 0.6355 MB / 1.049 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0006701/0.03192, allocations: 0.9777 MB / 1.05 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.000349/0.03228, allocations: 0.6281 MB / 1.051 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.03237, allocations: 95.69 kB / 1.051 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.617e-05/0.03244, allocations: 27.92 kB / 1.051 GB, free: 8.57 MB / 0.8262 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.001992/0.03444, allocations: 2.416 MB / 1.054 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001633/0.03461, allocations: 143.6 kB / 1.054 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0008944/0.03551, allocations: 1.038 MB / 1.055 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simplify1: time 7.937e-05/0.0356, allocations: 91.89 kB / 1.055 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of Alias: time 0.001274/0.03688, allocations: 1.236 MB / 1.056 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simplify2: time 7.45e-05/0.03697, allocations: 79.89 kB / 1.056 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of Detect States: time 0.000204/0.03718, allocations: 250.2 kB / 1.056 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of Events: time 0.000178/0.03736, allocations: 160.7 kB / 1.056 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0003525/0.03772, allocations: 398.7 kB / 1.057 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001379/0.03911, allocations: 1.428 MB / 1.058 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0006791/0.0398, allocations: 0.7929 MB / 1.059 GB, free: 44 kB / 0.8262 GB Notification: Performance of Inline: time 0.001565/0.04137, allocations: 1.675 MB / 1.061 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.302e-05/0.04147, allocations: 83.61 kB / 1.061 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.000153/0.04163, allocations: 183.6 kB / 1.061 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004373/0.04601, allocations: 4.429 MB / 1.065 GB, free: 9.629 MB / 0.8419 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!