Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001105/0.001105, allocations: 110.5 kB / 16.42 MB, free: 6.457 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.001087/0.001087, allocations: 190 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.177/1.177, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 281.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8231/0.8231, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.384e-05, allocations: 2.281 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve): time 0.2595/0.2596, allocations: 20.72 MB / 0.7023 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.2651, allocations: 4.945 MB / 0.7071 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.2657, allocations: 18.19 kB / 0.7071 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.2663, allocations: 276.6 kB / 0.7074 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.268, allocations: 0.8203 MB / 0.7082 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.2697, allocations: 0.7141 MB / 0.7089 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.2712, allocations: 1.382 MB / 0.7102 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.2718, allocations: 466.8 kB / 0.7107 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.2726, allocations: 0.5912 MB / 0.7112 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.2731, allocations: 441.4 kB / 0.7117 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.2732, allocations: 43.16 kB / 0.7117 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.2742, allocations: 0.6319 MB / 0.7123 GB, free: 428 kB / 494.1 MB Notification: Performance of combineBinaries: time 0.0006651/0.2749, allocations: 0.974 MB / 0.7133 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0003736/0.2753, allocations: 0.6326 MB / 0.7139 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2754, allocations: 98.44 kB / 0.714 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0001054/0.2755, allocations: 29.61 kB / 0.714 GB, free: 15.3 MB / 0.4981 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.00217/0.2777, allocations: 2.423 MB / 0.7164 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.00019/0.2779, allocations: 145.4 kB / 0.7165 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.001013/0.2789, allocations: 1.031 MB / 0.7175 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0001069/0.279, allocations: 87.34 kB / 0.7176 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Alias: time 0.001473/0.2805, allocations: 1.236 MB / 0.7188 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simplify2: time 8.617e-05/0.2806, allocations: 85.75 kB / 0.7189 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of Events: time 0.0001995/0.2808, allocations: 161.7 kB / 0.719 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0002517/0.2811, allocations: 269.5 kB / 0.7193 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0003648/0.2815, allocations: 403.7 kB / 0.7197 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Causalize: time 0.001481/0.2829, allocations: 1.42 MB / 0.7211 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.0007596/0.2837, allocations: 0.7936 MB / 0.7219 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Inline: time 0.001663/0.2854, allocations: 1.679 MB / 0.7235 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of Partitioning: time 9.731e-05/0.2855, allocations: 92.09 kB / 0.7236 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0001776/0.2857, allocations: 183.4 kB / 0.7238 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of Causalize: time 0.004749/0.2904, allocations: 4.511 MB / 0.7282 GB, free: 7.355 MB / 0.4981 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!