Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 183.2 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.368/1.368, allocations: 222.9 MB / 239.6 MB, free: 10.99 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.001148/0.001148, allocations: 96.39 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3821/0.3821, allocations: 36.68 MB / 376.7 MB, free: 41.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.89 kB / 446.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1258, allocations: 58.92 MB / 0.4935 GB, free: 0.8398 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.StandardElectrochemicalCell2): time 0.2421/0.368, allocations: 24.86 MB / 0.5178 GB, free: 32.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.3869, allocations: 18.18 MB / 0.5355 GB, free: 19.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.3892, allocations: 37.56 kB / 0.5355 GB, free: 19.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3908, allocations: 426.7 kB / 0.536 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.3942, allocations: 0.7723 MB / 0.5367 GB, free: 19.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008731/0.4029, allocations: 2.452 MB / 0.5391 GB, free: 17.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.4057, allocations: 1.619 MB / 0.5407 GB, free: 17.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.407, allocations: 0.7924 MB / 0.5415 GB, free: 16.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.4085, allocations: 0.6836 MB / 0.5421 GB, free: 16.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.4096, allocations: 0.7784 MB / 0.5429 GB, free: 16.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.4099, allocations: 89.62 kB / 0.543 GB, free: 16.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007043/0.4169, allocations: 1.719 MB / 0.5446 GB, free: 15.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.4177, allocations: 313.4 kB / 0.5449 GB, free: 15.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.419, allocations: 0.6962 MB / 0.5456 GB, free: 15.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.4278, allocations: 3.334 MB / 0.5489 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4279, allocations: 0 / 0.5489 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4279, allocations: 0 / 0.5489 GB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.064e-05/0.4279, allocations: 4 kB / 0.5489 GB, free: 13.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003579/0.4315, allocations: 1.928 MB / 0.5508 GB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4315, allocations: 9.844 kB / 0.5508 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.433, allocations: 387.2 kB / 0.5511 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.4346, allocations: 0.9571 MB / 0.5521 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.4348, allocations: 153.6 kB / 0.5522 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.4349, allocations: 123.9 kB / 0.5523 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.4371, allocations: 1.649 MB / 0.554 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.4372, allocations: 4 kB / 0.554 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.4373, allocations: 48 kB / 0.554 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.4373, allocations: 35.33 kB / 0.554 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.4398, allocations: 2.112 MB / 0.5561 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/0.4469, allocations: 5.441 MB / 0.5614 GB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.4482, allocations: 0.7411 MB / 0.5621 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.4487, allocations: 361.8 kB / 0.5625 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007475/0.4562, allocations: 5.136 MB / 0.5675 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4563, allocations: 39.55 kB / 0.5675 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000398/0.4567, allocations: 78.91 kB / 0.5676 GB, free: 13.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/0.4567, allocations: 0 / 0.5676 GB, free: 13.22 MB / 394.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!