Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001009/0.001009, allocations: 100.3 kB / 16.38 MB, free: 6.438 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.00096/0.00096, allocations: 188.2 kB / 17.31 MB, free: 5.789 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.268e-05, allocations: 2.281 kB / 0.5031 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01973/0.01977, allocations: 20.74 MB / 0.5234 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.0263, allocations: 4.947 MB / 0.5282 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.02694, allocations: 15.88 kB / 0.5282 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007793/0.02772, allocations: 274 kB / 0.5285 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.0296, allocations: 0.8082 MB / 0.5293 GB, free: 68 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1947/0.2244, allocations: 0.7036 MB / 0.53 GB, free: 44.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.2267, allocations: 1.376 MB / 0.5313 GB, free: 44.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007439/0.2274, allocations: 479.9 kB / 0.5318 GB, free: 44.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009547/0.2284, allocations: 0.5875 MB / 0.5323 GB, free: 44.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.229, allocations: 465.4 kB / 0.5328 GB, free: 44.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.229, allocations: 35.75 kB / 0.5328 GB, free: 44.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.2301, allocations: 0.6333 MB / 0.5334 GB, free: 44.58 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0006102/0.2307, allocations: 0.9767 MB / 0.5344 GB, free: 44.09 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002588/0.231, allocations: 0.6131 MB / 0.535 GB, free: 43.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.2311, allocations: 97.31 kB / 0.5351 GB, free: 43.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.164e-05/0.2312, allocations: 33.17 kB / 0.5351 GB, free: 43.68 MB / 446.1 MB 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.001781/0.233, allocations: 2.405 MB / 0.5375 GB, free: 42.68 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001822/0.2332, allocations: 150.8 kB / 0.5376 GB, free: 42.67 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0008079/0.234, allocations: 1.025 MB / 0.5386 GB, free: 42.59 MB / 446.1 MB Notification: Performance of simplify1: time 7.17e-05/0.2341, allocations: 92.98 kB / 0.5387 GB, free: 42.59 MB / 446.1 MB Notification: Performance of Alias: time 0.001075/0.2351, allocations: 1.154 MB / 0.5398 GB, free: 42.27 MB / 446.1 MB Notification: Performance of simplify2: time 6.479e-05/0.2352, allocations: 82.86 kB / 0.5399 GB, free: 42.27 MB / 446.1 MB Notification: Performance of Events: time 0.0001701/0.2354, allocations: 158.8 kB / 0.5401 GB, free: 42.26 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002146/0.2356, allocations: 274.4 kB / 0.5403 GB, free: 42.22 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002982/0.2359, allocations: 404.5 kB / 0.5407 GB, free: 42.02 MB / 446.1 MB Notification: Performance of Causalize: time 0.001513/0.2374, allocations: 1.888 MB / 0.5426 GB, free: 41.75 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005934/0.238, allocations: 0.7863 MB / 0.5433 GB, free: 41.68 MB / 446.1 MB Notification: Performance of Inline: time 0.001292/0.2393, allocations: 1.638 MB / 0.5449 GB, free: 41.51 MB / 446.1 MB Notification: Performance of Partitioning: time 9.298e-05/0.2395, allocations: 87.3 kB / 0.545 GB, free: 41.48 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0001356/0.2396, allocations: 192.8 kB / 0.5452 GB, free: 41.46 MB / 446.1 MB Notification: Performance of Causalize: time 0.004462/0.2441, allocations: 6.001 MB / 0.551 GB, free: 40.75 MB / 446.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!