Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 106.2 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.001092/0.001092, 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07943/0.07943, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/2.921e-05, allocations: 6.438 kB / 425.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.007159/0.007196, allocations: 8.553 MB / 434.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02472/0.03195, allocations: 23.26 MB / 457.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.03358, allocations: 19.88 kB / 457.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.03499, allocations: 0.5079 MB / 458.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.04147, allocations: 2.005 MB / 460.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008439/0.05002, allocations: 3.002 MB / 463.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004578/0.05462, allocations: 2.8 MB / 465.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.05645, allocations: 1.428 MB / 467.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.05803, allocations: 1.251 MB / 468.6 MB, free: 464 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.05961, allocations: 1.328 MB / 469.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002849/0.05991, allocations: 219.9 kB / 470.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008747/0.06866, allocations: 2.59 MB / 472.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.00308/0.07178, allocations: 3.392 MB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001332/0.07313, allocations: 1.937 MB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006329/0.07377, allocations: 347 kB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005122/0.07429, allocations: 79.84 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 (455) * Number of variables: 455 (455) Notification: Performance of Bindings: time 0.009473/0.08377, allocations: 9.916 MB / 488.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001506/0.0853, allocations: 1.415 MB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Early Inline: time 0.009622/0.09493, allocations: 8.411 MB / 498.2 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simplify1: time 0.0008194/0.0958, allocations: 0.5501 MB / 498.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of Alias: time 0.01315/0.109, allocations: 10.76 MB / 0.4976 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simplify2: time 0.0007845/0.1098, allocations: 419.6 kB / 0.498 GB, free: 5.859 MB / 382.1 MB Notification: Performance of Events: time 0.0004988/0.1103, allocations: 477.8 kB / 0.4985 GB, free: 5.387 MB / 382.1 MB Notification: Performance of Detect States: time 0.001159/0.1115, allocations: 0.9986 MB / 0.4994 GB, free: 4.363 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001644/0.1131, allocations: 1.362 MB / 0.5008 GB, free: 2.926 MB / 382.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [ALGB] (1) flow Real A.solution.dV slice: {} [ALGB] (1) flow Real B.solution.dV slice: {} [ALGB] (1) protected Real thermal_isolated_solution.volume_der slice: {} [DER-] (1) Real $DER.H2O1.SelfClustering_dG slice: {} (4|4) Unmatched Equations *************************** [SCAL] (1) B.molarVolume = 1.8015280000000002e-5 + Chemical.Examples.ExothermicReaction.B.stateOfMatter.molarVolumePure(Chemical.Examples.ExothermicReaction.B.stateOfMatter.SubstanceData(0.01801528, 0.0, 0.0, -55000.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O1.SelfClustering_dG), H2O1.pressure, 0.0, H2O1.moleFractionBasedIonicStrength) * log(Chemical.Examples.ExothermicReaction.B.stateOfMatter.activityCoefficient(Chemical.Examples.ExothermicReaction.B.stateOfMatter.SubstanceData(0.01801528, 0.0, 0.0, -55000.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O1.SelfClustering_dG), H2O1.pressure, 0.0, H2O1.moleFractionBasedIonicStrength)) ($RES_SIM_200) slice: {} [SCAL] (1) A.molarVolume = 1.8015280000000002e-5 + Chemical.Examples.ExothermicReaction.A.stateOfMatter.molarVolumePure(Chemical.Examples.ExothermicReaction.A.stateOfMatter.SubstanceData(0.01801528, 0.0, 0.0, 0.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O1.SelfClustering_dG), H2O1.pressure, 0.0, H2O1.moleFractionBasedIonicStrength) * log(Chemical.Examples.ExothermicReaction.A.stateOfMatter.activityCoefficient(Chemical.Examples.ExothermicReaction.A.stateOfMatter.SubstanceData(0.01801528, 0.0, 0.0, 0.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O1.SelfClustering_dG), H2O1.pressure, 0.0, H2O1.moleFractionBasedIonicStrength)) ($RES_SIM_247) slice: {} [SCAL] (1) H2O1.pressure = thermal_isolated_solution.BasePressure ($RES_SIM_288) slice: {} [SCAL] (1) A.solution.nj = exp(A.logn) ($RES_$AUX_494) slice: {}