Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 182.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.373/1.373, allocations: 222.9 MB / 239.7 MB, free: 10.96 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.0009984/0.0009984, allocations: 99.31 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3417/0.3417, allocations: 36.66 MB / 376.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 446.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1038, allocations: 58.92 MB / 0.4935 GB, free: 0.8438 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.StandardElectrochemicalCell): time 0.2125/0.3163, allocations: 25.6 MB / 0.5185 GB, free: 32.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.336, allocations: 21.57 MB / 0.5395 GB, free: 16.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.3393, allocations: 39.69 kB / 0.5396 GB, free: 16.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.3415, allocations: 495.7 kB / 0.5401 GB, free: 16.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.3445, allocations: 0.9272 MB / 0.541 GB, free: 16.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008428/0.353, allocations: 2.884 MB / 0.5438 GB, free: 14.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.3555, allocations: 1.771 MB / 0.5455 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.3565, allocations: 0.8115 MB / 0.5463 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/0.3574, allocations: 0.7656 MB / 0.547 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.3584, allocations: 0.8612 MB / 0.5479 GB, free: 12.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.3586, allocations: 91.62 kB / 0.548 GB, free: 12.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007192/0.3658, allocations: 2.019 MB / 0.5499 GB, free: 12.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.3666, allocations: 340 kB / 0.5503 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.3677, allocations: 0.7531 MB / 0.551 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3784, allocations: 3.788 MB / 0.5547 GB, free: 9.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3784, allocations: 3.938 kB / 0.5547 GB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3784, allocations: 4 kB / 0.5547 GB, free: 9.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.3784, allocations: 4 kB / 0.5547 GB, free: 9.344 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.003336/0.3818, allocations: 2.088 MB / 0.5568 GB, free: 7.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3818, allocations: 12.03 kB / 0.5568 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.3834, allocations: 433.5 kB / 0.5572 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3848, allocations: 1.021 MB / 0.5582 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.385, allocations: 161.5 kB / 0.5583 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3852, allocations: 124 kB / 0.5584 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.3875, allocations: 1.757 MB / 0.5602 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.3875, allocations: 7.938 kB / 0.5602 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3876, allocations: 49.08 kB / 0.5602 GB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.3876, allocations: 32 kB / 0.5603 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.3905, allocations: 2.323 MB / 0.5625 GB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007224/0.3978, allocations: 5.599 MB / 0.568 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3992, allocations: 0.7415 MB / 0.5687 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.3998, allocations: 368.5 kB / 0.5691 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008017/0.4078, allocations: 5.778 MB / 0.5747 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4079, allocations: 42.56 kB / 0.5747 GB, free: 6.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 3.837e-06/0.4079, allocations: 3.984 kB / 0.5747 GB, free: 6.445 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!