Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001179/0.001179, allocations: 105.8 kB / 16.42 MB, free: 6.465 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.001212/0.001213, allocations: 183.2 kB / 17.36 MB, free: 5.699 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8449/0.8449, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.571e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01742/0.01745, allocations: 20.74 MB / 0.6065 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.02395, allocations: 4.943 MB / 0.6113 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.02457, allocations: 15.88 kB / 0.6113 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.02545, allocations: 278 kB / 0.6116 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.02738, allocations: 0.824 MB / 0.6124 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.02919, allocations: 0.7126 MB / 0.6131 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.0309, allocations: 1.386 MB / 0.6144 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007538/0.03166, allocations: 460.3 kB / 0.6149 GB, free: 9.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.03277, allocations: 0.6033 MB / 0.6155 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.03336, allocations: 430.3 kB / 0.6159 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.03344, allocations: 36 kB / 0.6159 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.03469, allocations: 0.6355 MB / 0.6165 GB, free: 7.695 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0008102/0.03551, allocations: 0.9777 MB / 0.6175 GB, free: 6.707 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004115/0.03593, allocations: 0.6281 MB / 0.6181 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.03606, allocations: 99.69 kB / 0.6182 GB, free: 5.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001171/0.03619, allocations: 35.86 kB / 0.6182 GB, free: 5.938 MB / 462.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.002509/0.0387, allocations: 2.424 MB / 0.6206 GB, free: 3.391 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.000204/0.03891, allocations: 142.4 kB / 0.6207 GB, free: 3.254 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001067/0.03999, allocations: 1.034 MB / 0.6217 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simplify1: time 0.0001126/0.04011, allocations: 95.88 kB / 0.6218 GB, free: 2.098 MB / 462.1 MB Notification: Performance of Alias: time 0.001604/0.04172, allocations: 1.228 MB / 0.623 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of simplify2: time 7.5e-05/0.04181, allocations: 79.91 kB / 0.6231 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of Events: time 0.0002082/0.04203, allocations: 156.8 kB / 0.6232 GB, free: 0.5 MB / 462.1 MB Notification: Performance of Detect States: time 0.0002801/0.04232, allocations: 284.2 kB / 0.6235 GB, free: 216 kB / 462.1 MB Notification: Performance of Partitioning: time 0.0004333/0.04276, allocations: 394.7 kB / 0.6239 GB, free: 15.73 MB / 478.1 MB Notification: Performance of Causalize: time 0.001771/0.04454, allocations: 1.439 MB / 0.6253 GB, free: 14.2 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008312/0.04538, allocations: 0.777 MB / 0.6261 GB, free: 13.4 MB / 478.1 MB Notification: Performance of Inline: time 0.001803/0.04719, allocations: 1.682 MB / 0.6277 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0001092/0.04731, allocations: 87.61 kB / 0.6278 GB, free: 11.59 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001769/0.0475, allocations: 191.5 kB / 0.628 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Causalize: time 0.005138/0.05264, allocations: 4.517 MB / 0.6324 GB, free: 6.875 MB / 478.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!