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.001091/0.001091, allocations: 112.8 kB / 16.42 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.001176/0.001176, allocations: 182 kB / 17.36 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8031/0.8031, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.134e-05, allocations: 2.281 kB / 0.5819 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01704/0.01707, allocations: 20.74 MB / 0.6022 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.0223, allocations: 4.946 MB / 0.607 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.02284, allocations: 19.88 kB / 0.607 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.02358, allocations: 282 kB / 0.6073 GB, free: 412 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.02677, allocations: 0.8552 MB / 0.6081 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.02902, allocations: 0.7041 MB / 0.6088 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.03106, allocations: 1.398 MB / 0.6102 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006609/0.03174, allocations: 456.3 kB / 0.6106 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.03275, allocations: 0.5955 MB / 0.6112 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/0.03333, allocations: 434.3 kB / 0.6116 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.448e-05/0.03343, allocations: 40 kB / 0.6117 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.03476, allocations: 0.6316 MB / 0.6123 GB, free: 11.29 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0007199/0.03549, allocations: 0.9816 MB / 0.6132 GB, free: 10.3 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004022/0.0359, allocations: 0.6319 MB / 0.6139 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.03604, allocations: 95.69 kB / 0.614 GB, free: 9.562 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001314/0.03618, allocations: 31.92 kB / 0.614 GB, free: 9.531 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.002325/0.03851, allocations: 2.44 MB / 0.6164 GB, free: 6.969 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002229/0.03874, allocations: 138.8 kB / 0.6165 GB, free: 6.836 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001082/0.03983, allocations: 1.018 MB / 0.6175 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simplify1: time 0.000108/0.03995, allocations: 95.88 kB / 0.6176 GB, free: 5.695 MB / 462.1 MB Notification: Performance of Alias: time 0.001658/0.04161, allocations: 1.244 MB / 0.6188 GB, free: 4.312 MB / 462.1 MB Notification: Performance of simplify2: time 0.000114/0.04174, allocations: 79.89 kB / 0.6189 GB, free: 4.234 MB / 462.1 MB Notification: Performance of Detect States: time 0.0002862/0.04203, allocations: 269 kB / 0.6191 GB, free: 3.961 MB / 462.1 MB Notification: Performance of Events: time 0.000222/0.04226, allocations: 144.8 kB / 0.6193 GB, free: 3.82 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0004381/0.04271, allocations: 402.7 kB / 0.6197 GB, free: 3.336 MB / 462.1 MB Notification: Performance of Causalize: time 0.001637/0.04435, allocations: 1.422 MB / 0.621 GB, free: 1.82 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.000797/0.04516, allocations: 0.7892 MB / 0.6218 GB, free: 1.004 MB / 462.1 MB Notification: Performance of Inline: time 0.001843/0.04701, allocations: 1.663 MB / 0.6234 GB, free: 15.31 MB / 478.1 MB Notification: Performance of Partitioning: time 0.000136/0.04716, allocations: 103.6 kB / 0.6235 GB, free: 15.2 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001853/0.04735, allocations: 183.6 kB / 0.6237 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Causalize: time 0.005309/0.05267, allocations: 4.435 MB / 0.628 GB, free: 10.58 MB / 478.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!