Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001038, allocations: 102.9 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3498/0.3498, allocations: 36.67 MB / 376.7 MB, free: 41.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.89 kB / 446.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1289, allocations: 58.91 MB / 0.4935 GB, free: 0.8594 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential): time 0.3107/0.4397, allocations: 26.99 MB / 0.5198 GB, free: 31.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05037/0.4901, allocations: 28.22 MB / 0.5474 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/0.4943, allocations: 48.78 kB / 0.5474 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.4981, allocations: 0.6217 MB / 0.548 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008496/0.5067, allocations: 1.212 MB / 0.5492 GB, free: 10 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02379/0.5306, allocations: 3.747 MB / 0.5529 GB, free: 7.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00644/0.5371, allocations: 2.159 MB / 0.555 GB, free: 6.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.5393, allocations: 0.9796 MB / 0.556 GB, free: 6.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.5422, allocations: 1.012 MB / 0.5569 GB, free: 6.086 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.5454, allocations: 1.112 MB / 0.558 GB, free: 5.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.546, allocations: 111.1 kB / 0.5581 GB, free: 5.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01653/0.5626, allocations: 2.626 MB / 0.5607 GB, free: 3.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.564, allocations: 428.9 kB / 0.5611 GB, free: 3.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.5661, allocations: 0.9236 MB / 0.562 GB, free: 2.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0216/0.5877, allocations: 4.812 MB / 0.5667 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5877, allocations: 3.938 kB / 0.5667 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5878, allocations: 4 kB / 0.5667 GB, free: 14.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.984e-05/0.5878, allocations: 0 / 0.5667 GB, free: 14.31 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.009735/0.5976, allocations: 2.543 MB / 0.5692 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.5977, allocations: 8.828 kB / 0.5692 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.6023, allocations: 0.5212 MB / 0.5697 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/0.6068, allocations: 1.209 MB / 0.5709 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.6071, allocations: 172.8 kB / 0.5711 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006657/0.6078, allocations: 144 kB / 0.5712 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00664/0.6145, allocations: 2.026 MB / 0.5732 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.6146, allocations: 7.938 kB / 0.5732 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.6149, allocations: 64 kB / 0.5732 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/0.615, allocations: 36 kB / 0.5733 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008438/0.6234, allocations: 2.771 MB / 0.576 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.6426, allocations: 6.639 MB / 0.5825 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.6461, allocations: 1.08 MB / 0.5835 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.6479, allocations: 0.5677 MB / 0.5841 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02107/0.669, allocations: 8.513 MB / 0.5924 GB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.6691, allocations: 39 kB / 0.5924 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006771/0.6698, allocations: 102.7 kB / 0.5925 GB, free: 3.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 5.631e-06/0.6698, allocations: 3.938 kB / 0.5925 GB, free: 3.852 MB / 410.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!