Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.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(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 108.5 kB / 16.42 MB, free: 6.527 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.001241/0.001241, allocations: 192.3 kB / 17.36 MB, free: 5.73 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09141/0.09141, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.468e-05, allocations: 2.5 kB / 425.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003263/0.003295, allocations: 2.981 MB / 428.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.009242, allocations: 6.269 MB / 435 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.009614, allocations: 7.938 kB / 435.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.0101, allocations: 158.8 kB / 435.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.01084, allocations: 238.1 kB / 435.4 MB, free: 1.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.01304, allocations: 0.9626 MB / 436.4 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.01368, allocations: 0.5493 MB / 437 MB, free: 312 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.0139, allocations: 156.5 kB / 437.1 MB, free: 152 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.01416, allocations: 239.4 kB / 437.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.01461, allocations: 239.1 kB / 437.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.0147, allocations: 24 kB / 437.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.01685, allocations: 0.5499 MB / 438.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004799/0.01735, allocations: 0.6028 MB / 438.7 MB, free: 14.5 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002437/0.0176, allocations: 401.8 kB / 439.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.01769, allocations: 55.88 kB / 439.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001121/0.0178, allocations: 27.92 kB / 439.2 MB, free: 14.02 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (53) * Number of variables: 53 (53) Notification: Performance of Bindings: time 0.002157/0.01997, allocations: 1.791 MB / 441 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002254/0.0202, allocations: 151.5 kB / 441.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001744/0.02196, allocations: 1.541 MB / 442.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001195/0.02209, allocations: 75.91 kB / 442.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Alias: time 0.001552/0.02365, allocations: 1.268 MB / 444 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simplify2: time 8.187e-05/0.02374, allocations: 63.92 kB / 444.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of Events: time 8.611e-05/0.02383, allocations: 43.92 kB / 444.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001605/0.024, allocations: 152.1 kB / 444.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004325/0.02444, allocations: 309.6 kB / 444.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008998/0.02535, allocations: 0.8002 MB / 445.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004983/0.02586, allocations: 484.1 kB / 445.9 MB, free: 6.699 MB / 318.1 MB Error: Internal error NBInitialization.main failed to apply modules!